mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 19:40:28 +00:00
27 lines
889 B
Plaintext
27 lines
889 B
Plaintext
caption: fieldmangler
|
|
created: 20131024141900000
|
|
modified: 20211009122821085
|
|
tags: Widgets MessageHandlerWidgets
|
|
title: FieldManglerWidget
|
|
type: text/vnd.tiddlywiki
|
|
|
|
! Introduction
|
|
|
|
The field mangler widget manipulates the fields and tags of a tiddler. It does so in response to the following [[Messages]]:
|
|
|
|
|!Message |!Description |
|
|
|''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` |
|
|
|
|
! Content and Attributes
|
|
|
|
The field mangler widget displays any contained content, and responds to [[Messages]] dispatched within it.
|
|
|
|
|!Attribute |!Description |
|
|
|tiddler |Title of the tiddler to manipulate (defaults to the [[current tiddler|Current Tiddler]]) |
|
|
|
|
<<.widget-examples "FieldMangler">>
|
|
|