mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
Tabs macro docs tweaks
This commit is contained in:
parent
fa43f45e18
commit
37718cceff
@ -1,5 +1,5 @@
|
|||||||
created: 20131228162203521
|
created: 20131228162203521
|
||||||
modified: 20140928113527667
|
modified: 20141209113527667
|
||||||
tags: Macros
|
tags: Macros
|
||||||
title: TabsMacro
|
title: TabsMacro
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -15,7 +15,7 @@ By default the tab control arranges the tabs horizontally with the content under
|
|||||||
|1st |tabsList |Filter giving the tiddlers to be displayed | |
|
|1st |tabsList |Filter giving the tiddlers to be displayed | |
|
||||||
|2nd |default |Name of the tiddler containing the default tab | |
|
|2nd |default |Name of the tiddler containing the default tab | |
|
||||||
|3rd |state |String to distinguish multiple tabs within the same tiddler (use of the system tiddler prefix is recommended) |''$:/state/tab'' |
|
|3rd |state |String to distinguish multiple tabs within the same tiddler (use of the system tiddler prefix is recommended) |''$:/state/tab'' |
|
||||||
|4th |class |Additional CSS classes for the three wrappers DIV of the tab | |
|
|4th |class |Additional CSS classes for the three wrapper DIVs that make up the tabs (multiple classes can be separated with spaces) | |
|
||||||
|5th |template |Optional template through which to render the tab content | |
|
|5th |template |Optional template through which to render the tab content | |
|
||||||
|
|
||||||
Within the template the title of the current tab is available in the widget variable ''currentTab''. The ''currentTiddler'' variable is not affected by the tabs macro.
|
Within the template the title of the current tab is available in the widget variable ''currentTab''. The ''currentTiddler'' variable is not affected by the tabs macro.
|
||||||
|
Loading…
Reference in New Issue
Block a user