2021-11-01 12:56:52 +00:00
|
|
|
caption: fieldmangler
|
2014-01-25 14:07:32 +00:00
|
|
|
created: 20131024141900000
|
2021-11-01 12:56:52 +00:00
|
|
|
modified: 20211009122821085
|
|
|
|
tags: Widgets MessageHandlerWidgets
|
2014-01-25 14:07:32 +00:00
|
|
|
title: FieldManglerWidget
|
|
|
|
type: text/vnd.tiddlywiki
|
2013-10-31 22:03:40 +00:00
|
|
|
|
|
|
|
! Introduction
|
|
|
|
|
2014-09-11 14:52:47 +00:00
|
|
|
The field mangler widget manipulates the fields and tags of a tiddler. It does so in response to the following [[Messages]]:
|
2013-10-31 22:03:40 +00:00
|
|
|
|
2013-11-08 14:17:52 +00:00
|
|
|
|!Message |!Description |
|
2014-08-28 20:43:44 +00:00
|
|
|
|''tm-remove-field'' |Remove the field specified in `event.param` |
|
|
|
|
|''tm-add-field'' |Add the field specified in `event.param` |
|
|
|
|
|''tm-remove-tag'' |Remove the tag specified in `event.param` |
|
|
|
|
|''tm-add-tag'' |Add the tag specified in `event.param` |
|
2013-10-31 22:03:40 +00:00
|
|
|
|
|
|
|
! Content and Attributes
|
|
|
|
|
2014-09-11 14:52:47 +00:00
|
|
|
The field mangler widget displays any contained content, and responds to [[Messages]] dispatched within it.
|
2013-10-31 22:03:40 +00:00
|
|
|
|
|
|
|
|!Attribute |!Description |
|
2015-02-24 16:41:16 +00:00
|
|
|
|tiddler |Title of the tiddler to manipulate (defaults to the [[current tiddler|Current Tiddler]]) |
|
2015-07-06 17:09:17 +00:00
|
|
|
|
|
|
|
<<.widget-examples "FieldMangler">>
|
|
|
|
|