From 4cdfa4e3f9d8b2ce5580624192840b0627fece28 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 23 Jan 2022 18:35:38 +0000 Subject: [PATCH] Update tm-download-file docs to mention the filename parameter --- .../tiddlers/messages/WidgetMessage_ tm-download-file.tid | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid index 5e5229213..128966501 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid @@ -1,5 +1,5 @@ created: 20140811112201235 -modified: 20141110133723696 +modified: 20220123141646321 tags: Messages title: WidgetMessage: tm-download-file type: text/vnd.tiddlywiki @@ -11,6 +11,11 @@ The download file message causes the current saver module to prompt the user to |param |Title of a tiddler to use as a template for the new tiddler | |paramObject |Optional hashmap of variable values to use for the rendering | +The following variable names have special behaviour: + +|!Name |!Description | +|filename |Filename for the downloaded file (note that this is a hint to the browser, and the actual filename used may be different) | + The download file message is usually generated with the ButtonWidget. The download file message is handled by the TiddlyWiki core SyncMechanism which invokes the current [[SaverModule|SaverModules]].