23rd May 2024 at 5:40pm
The tm-permalink
message changes the browser address bar to form a permalink to a specified tiddler, defaulting to the current tiddler. The resulting link will be copied to the clipboard.
The permalink message supports the following properties on the event
object:
Name | Description |
---|---|
param | Title of the tiddler to be permalinked |
tiddlerTitle | The current tiddler (used by default if the tiddler title isn't specified in the param ) |
successNotification | New in v5.3.4 Optional title of tiddler containing notification to be used if the operation succeeds |
failureNotification | New in v5.3.4 Optional title of tiddler containing notification to be used if the operation fails |
The permalink message can be generated by the ButtonWidget, and is handled by the story mechanism.