1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 05:44:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permaview.tid

19 lines
1.0 KiB
Plaintext
Raw Normal View History

2014-07-24 14:49:18 +00:00
created: 20140723103751357
modified: 20240523174013095
2014-09-11 14:52:47 +00:00
tags: Messages
2014-08-28 20:43:44 +00:00
title: WidgetMessage: tm-permaview
2014-07-24 14:49:18 +00:00
type: text/vnd.tiddlywiki
2014-09-10 23:06:19 +00:00
caption: tm-permaview
2014-07-24 14:49:18 +00:00
2014-08-28 20:43:44 +00:00
The `tm-permaview` message changes the browser address bar to form a [[permaview|PermaLinks]] that specifies all the open tiddlers in the main story river, and the tiddler to be navigated, defaulting to the current tiddler.
2014-07-24 14:49:18 +00:00
The permaview message supports the following properties on the `event` object:
|!Name |!Description |
|param |Title of the tiddler to be navigated within the permaview |
|tiddlerTitle |The current tiddler (used by default if the tiddler title isn't specified in the `param`) |
|successNotification |<<.from-version "5.3.4">> Optional title of tiddler containing notification to be used if the operation succeeds |
|failureNotification |<<.from-version "5.3.4">> Optional title of tiddler containing notification to be used if the operation fails |
2014-07-24 14:49:18 +00:00
The permaview message can be generated by the ButtonWidget, and is handled by the story mechanism.