This page is part of a static HTML representation of the TiddlyWiki at http://tiddlywiki.com/

list-tagged-draggable Macro

29th March 2017 at 10:32am
Core Macros Macros

The list-tagged-draggable macro renders the tiddlers with a particular tag as a list of links that can be reordered via drag and drop.

Parameters

tag
The title of the tag
itemTemplate
Optional title of a tiddler to use as the template for rendering list items

Note that the ordering is accomplished by assigning a new list to the list field of the tag tiddler. Any list-before or list-after fields on any of the other tiddlers carrying the tag are also removed to ensure the list field is respected.

If the itemTemplate parameter is not provided then the list items are rendered as simple links. Within the itemTemplate, the currentTiddler Variable refers to the current list item.

Examples