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

Dev:CreateTagButton

TiddlyWiki Community Wiki

Jump to: navigation, search

The global function createTagButton renders a button that displays a list of tiddlers that belong to a certain tag. Clicking a menu item opens the tiddler. This function takes three parameters in order:

  • the DOM element to render into. This appends to existing content.
  • the name of the tag.
  • the title of a tiddler to exclude. You may leave this value off; in that case, all tiddlers matching the tag will be displayed.

This function returns a reference to the newly-created button, which is a DOM element itself.

Personal tools