From ae9a183a53237b3eb5da11f7ec26e61bb57f43a3 Mon Sep 17 00:00:00 2001 From: Saq Imtiaz Date: Tue, 12 Apr 2022 13:08:02 +0200 Subject: [PATCH] Extend documentation for tm-close-window (#6613) --- .../tiddlers/messages/WidgetMessage_ tm-close-window.tid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid index d955988ba..739efb192 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid @@ -1,6 +1,6 @@ caption: tm-open-window created: 20220228140417116 -modified: 20220301180905777 +modified: 20220409092811188 tags: Messages title: WidgetMessage: tm-close-window type: text/vnd.tiddlywiki @@ -15,6 +15,8 @@ The `tm-close-window` message is best generated with the ActionSendMessageWidget <<.tip """When used with the ActionSendMessageWidget, <<.param 'param'>> becomes <<.param '$param'>> """>> <<.tip """To close all additional browser windows that were opened with [[tm-open-window|WidgetMessage: tm-open-window]] use [[WidgetMessage: tm-close-all-windows]]""">> +<<.tip """If the <<.param windowID>> parameter was used with [[tm-open-window|WidgetMessage: tm-open-window]] when opening a new window, the value of <<.param windowID>> is available within that window in the variable <<.var tv-window-id>>""">> + <$macrocall $name='wikitext-example-without-html' src="""