mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +00:00
8051a3dea2
Adding the line Use the [[ActionDeleteTiddlerWidget]] to delete a named tiddler without getting the "Do you wish to delete the tiddler" prompt. However If someone knows how to make "WidgetMessage: tm-delete-tiddler" do this please explain.
17 lines
892 B
Plaintext
17 lines
892 B
Plaintext
created: 20140226090324129
|
|
modified: 20140226090441236
|
|
tags: Messages navigator-message
|
|
title: WidgetMessage: tm-delete-tiddler
|
|
type: text/vnd.tiddlywiki
|
|
caption: tm-delete-tiddler
|
|
|
|
The `tm-delete-tiddler` message deletes the specified tiddler and removes it from the current story. If the tiddler is a draft then it also deletes the tiddler specified in the `draft.of` field. The delete tiddler message requires the following properties on the `event` object:
|
|
|
|
|!Name |!Description |
|
|
|param |Title of the tiddler that is to be deleted |
|
|
|tiddlerTitle |Fallback title that is used if ''param'' isn't specified (automatically set by the ButtonWidget) |
|
|
|
|
The delete tiddler message is usually generated with the ButtonWidget and is handled by the NavigatorWidget.
|
|
|
|
Use the [[ActionDeleteTiddlerWidget]] to delete a named tiddler without getting the "Do you wish to delete the tiddler" prompt.
|