2017-06-29 07:47:26 +00:00
caption: navigator
2014-02-26 19:55:42 +00:00
created: 20131024141900000
2017-06-29 07:47:26 +00:00
modified: 20170629074415261
2014-09-10 23:06:19 +00:00
tags: Widgets
2014-02-26 19:55:42 +00:00
title: NavigatorWidget
type: text/vnd.tiddlywiki
2013-10-31 22:03:40 +00:00
! Introduction
2014-09-11 14:52:47 +00:00
The navigator widget manipulates the current store, the story list and history lists in response to various [[Messages]].
2013-10-31 22:03:40 +00:00
! Content and Attributes
2014-09-11 14:52:47 +00:00
The navigator widget displays any contained content, and responds to Messages dispatched within it.
2013-10-31 22:03:40 +00:00
|!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 |
2015-06-19 15:44:20 +00:00
|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 linkes outside the story river: at the ''top'' or ''bottom'' of the story river|
2014-02-26 19:55:42 +00:00
! Widget Messages
2014-09-11 14:52:47 +00:00
The following [[Messages]] are handled by the navigator widget:
2014-02-26 19:55:42 +00:00
<ul>
<$list filter="[tag[navigator-message]]">
<li>
<$link to={{!!title}}>
<$view field="title"/>
</$link>
</li>
</$list>
</ul>
2017-06-29 07:47:26 +00:00
! Variables
The following [[Variables]] are assigned by the navigator widget:
* <<.vlink tv-story-list>>, giving the name of the tiddler containing the story list
* <<.vlink tv-history-list>>, giving the name of the tiddler containing the history list