update TabsMacro.tid with "actions" and "explicitState" attribute (#4902)

This commit is contained in:
Simon Huber
2020-10-23 19:33:46 +01:00
committed by GitHub
parent c3a8cc7eb4
commit a1b486436e
@@ -27,6 +27,10 @@ By default the tabs are arranged horizontally above the content. To get vertical
: Optionally, the title of a tiddler to use as a [[template|TemplateTiddlers]] for transcluding the content of the button for the selected tab
;retain
: Optionally, "yes" specifies that the content of the tabs should be retained when switching to another tab, avoiding re-rendering it (this can be useful to avoid video or audio sources unexpectedly resetting)
;actions
: Optionally, actions can be specified that are triggered when changing a tab
;explicitState
: Optionally, an explicit state title can be specified. It will be preferred over the internally computed (qualified) state title
Within the template, the title of the selected tab is available in the <<.var currentTab>> variable.