mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
b520efdeb8
Now the `tm-download-file` and `tm-save-file` messages use the hashmap to specify variables to be applied when rendering the tiddler. We also add a convention that the variable “filename” is used to specify a filename for the download.
17 lines
750 B
Plaintext
17 lines
750 B
Plaintext
created: 20140811112325641
|
|
modified: 20141110133723696
|
|
tags: Messages
|
|
title: WidgetMessage: tm-save-wiki
|
|
type: text/vnd.tiddlywiki
|
|
caption: tm-save-wiki
|
|
|
|
The save wiki message causes the current saver module to perform a full save operation. The save operation can involve user interaction. It requires the following properties on the `event` object:
|
|
|
|
|!Name |!Description |
|
|
|param |Title of a tiddler to use as a template for rendering the wiki (defaults to `$:/core/save/all`) |
|
|
|paramObject |Optional hashmap of variable values to use for the rendering |
|
|
|
|
The save wiki message is usually generated by the ButtonWidget.
|
|
|
|
The save wiki message is handled by the TiddlyWiki core SyncMechanism which invokes the current [[SaverModule|SaverModules]].
|