Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

Dev:HasClass

TiddlyWiki Community Wiki

Jump to: navigation, search

The global function hasClass returns whether a DOM element belongs to a CSS class. It takes two parameters in order:

  • the DOM element
  • the class to check for
Personal tools