src code

instance method Spah.DOM.Document#runElementSync

Spah.DOM.Document#runElementSync(elem, state) → void
  • elem (DOMElement) – The element to be examined and run through the modifier chain
  • state (Spah.SpahQL) – The query result object that will be the scope for this element’s assertion queries.

Runs a DOM element through the modifier chain, running any modifiers that apply to the element.