1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 01:26:18 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid

28 lines
1.1 KiB
Plaintext
Raw Normal View History

caption: linkcatcher
2014-04-09 10:31:36 +00:00
created: 20131024141900000
modified: 20170707111536556
2014-09-10 23:06:19 +00:00
tags: Widgets
2014-04-09 10:31:36 +00:00
title: LinkCatcherWidget
type: text/vnd.tiddlywiki
! Introduction
2014-08-28 20:43:44 +00:00
The link catcher widget traps [[WidgetMessage: tm-navigate]] dispatched within its child content by performing any or all of these actions:
* sending a different widget message
* setting a tiddler to the title of the navigated tiddler
* setting a tiddler to a specified value
* performing a series of ActionWidgets
! Content and Attributes
The content of the `<$linkcatcher>` widget is displayed normally.
|!Attribute |!Description |
|to |Optional title of the tiddler to be set to the title of the navigated tiddler |
2014-09-11 14:52:47 +00:00
|message |Optional identifier for a [[widget message|Messages]] to be sent when a navigation is caught |
|set |Optional title of the tiddler to be set to a specified value when navigation occurs |
|setTo |Value to be assigned by the `set` attribute |
|actions |Actions to be performed when a link is caught. Within the action string, the variable "navigateTo" contains the title of the tiddler being navigated |