2021년 11월 27일 오전 2:39
Introduction
The navigator widget manipulates the current store, the story list and history lists in response to various Messages.
Content and Attributes
The navigator widget displays any contained content, and responds to Messages dispatched within it.
Attribute | Description |
---|---|
story | Name of the tiddler containing the story list to be manipulated |
history | Name of the tiddler containing the history list to be manipulated |
openLinkFromInsideRiver | Determines the location for opening new tiddlers from links within the story river: at the top or bottom of the story river, or above or below the current tiddler |
openLinkFromOutsideRiver | Determines the location for opening new tiddlers from links outside the story river: at the top or bottom of the story river |
relinkOnRename | Introduced in v5.1.14 Determines if tags in other tiddlers are renamed if the tiddler title changes. yes or no. default: no |
Widget Messages
The following Messages are handled by the navigator widget:
- WidgetMessage: tm-cancel-tiddler
- WidgetMessage: tm-close-all-tiddlers
- WidgetMessage: tm-close-other-tiddlers
- WidgetMessage: tm-close-tiddler
- WidgetMessage: tm-delete-tiddler
- WidgetMessage: tm-edit-tiddler
- WidgetMessage: tm-import-tiddlers
- WidgetMessage: tm-new-tiddler
- WidgetMessage: tm-perform-import
- WidgetMessage: tm-relink-tiddler
- WidgetMessage: tm-rename-tiddler
- WidgetMessage: tm-save-tiddler
Variables
The following Variables are assigned by the navigator widget:
tv-story-list
, giving the name of the tiddler containing the story listtv-history-list
, giving the name of the tiddler containing the history list
Examples
See Creating SubStories.