instance method Spah.DOM.Document#removeModifiers
Spah.DOM.Document#removeModifiers(modifierOrArrayOfModifiers, modifer1, modifierN) → void
- modifierOrArrayOfModifiers (Object, Array): The modifier object to be deregistered.
- modifier1 (Object): If modifierOrArrayOfModifiers is not an array, then all arguments passed to this method will be added as modifiers.
Deregisters one or more modifiers from this document instance.
If your modifier implements the “removed” method, this will be called with this document instance as the only argument. This allows you to clean up any customisations made by the “added” method, if your modifier provided it.