src code

instance method Spah.DOM.Modifiers#modifierChainForElement

Spah.DOM.Modifiers#modifierChainForElement(elem) → Array

elem (HTMLElement): A jQuery object containing the element being processed.

Analyses the attributes and content of the given element and returns an ordered array of tuples, each containing the modifier instance to be triggered and the condition against which it will fire.