2017-07-07 11:16:14 +00:00
caption: linkcatcher
2014-04-09 10:31:36 +00:00
created: 20131024141900000
2021-11-01 12:56:52 +00:00
modified: 20211009122821108
tags: Widgets MessageHandlerWidgets TriggeringWidgets
2014-04-09 10:31:36 +00:00
title: LinkCatcherWidget
type: text/vnd.tiddlywiki
2013-10-31 22:03:40 +00:00
! 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:
2013-10-31 22:03:40 +00:00
* sending a different widget message
* setting a tiddler to the title of the navigated tiddler
* setting a tiddler to a specified value
2017-07-07 11:16:14 +00:00
* performing a series of ActionWidgets
2013-10-31 22:03:40 +00:00
! 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 |
2013-10-31 22:03:40 +00:00
|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 |
2020-07-15 11:27:14 +00:00
|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. <<.from-version "5.1.23">> the <<.def "modifier">> variable lists the modifier keys that are pressed when the action is invoked. The possible modifiers are ''ctrl'', ''ctrl-alt'', ''ctrl-shift'', ''alt'', ''alt-shift'', ''shift'' and ''ctrl-alt-shift'' |
2017-07-07 11:16:14 +00:00