2014-07-24 14:49:18 +00:00
created: 20140723103751357
2024-05-29 14:06:33 +00:00
modified: 20240523174013095
2014-09-11 14:52:47 +00:00
tags: Messages
2014-08-28 20:43:44 +00:00
title: WidgetMessage: tm-permalink
2014-07-24 14:49:18 +00:00
type: text/vnd.tiddlywiki
2014-09-10 23:06:19 +00:00
caption: tm-permalink
2014-07-24 14:49:18 +00:00
2023-09-06 11:27:06 +00:00
The `tm-permalink` message changes the browser address bar to form a [[permalink|PermaLinks]] to a specified tiddler, defaulting to the current tiddler. The resulting link will be copied to the clipboard.
2014-07-24 14:49:18 +00:00
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`) |
2024-05-29 14:06:33 +00:00
|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 permalink message can be generated by the ButtonWidget, and is handled by the story mechanism.