src code

class Spah.DOM.Modifiers

Description

An instance of Modifiers exists on every instance of Spah.DOM. The Modifiers instance acts as a router for applying helper code such as stashing, classnames and any other document modification to elements.

You may add your own helpers to Spah, or disable helpers that you don’t need. See #add and #remove for details. Each instance of Modifiers registers the default helpers on creation.

Instance methods

Instance properties