There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.

This may take a few seconds.



toggle-take-class: (class) [scope(selector)] [every (time)] [after (time)][, (class)...];

class = The class to "take" from other elements in the DOM that have the class.

scope = An optional selector that limits the taking of the class to elements contained under that selector, and leaves any other element in the DOM alone that may have the class.

This commands acts in the same way as take-class, except if the class is already taken, the class will be removed.


toggle-take-class with a scope