2014-02-26 19:55:42 +00:00
created: 20140226090324129
modified: 20140226090441236
2014-09-11 14:52:47 +00:00
tags: Messages navigator-message
2014-08-28 20:43:44 +00:00
title: WidgetMessage: tm-delete-tiddler
2014-02-26 19:55:42 +00:00
type: text/vnd.tiddlywiki
2014-09-10 23:06:19 +00:00
caption: tm-delete-tiddler
2014-02-26 19:55:42 +00:00
2014-08-28 20:43:44 +00:00
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:
2014-02-26 19:55:42 +00:00
|!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) |
2023-12-13 18:12:41 +00:00
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.