1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Pop storyview for tabs macro (#4149)

This commit is contained in:
Simon Huber 2019-08-02 16:05:12 +02:00 committed by Jeremy Ruston
parent 4952be6518
commit 776ce0f65f

View File

@ -4,7 +4,7 @@ tags: $:/tags/Macro
\define tabs(tabsList,default,state:"$:/state/tab",class,template,buttonTemplate,retain) \define tabs(tabsList,default,state:"$:/state/tab",class,template,buttonTemplate,retain)
<div class="tc-tab-set $class$"> <div class="tc-tab-set $class$">
<div class="tc-tab-buttons $class$"> <div class="tc-tab-buttons $class$">
<$list filter="$tabsList$" variable="currentTab"><$set name="save-currentTiddler" value=<<currentTiddler>>><$tiddler tiddler=<<currentTab>>><$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> <$list filter="$tabsList$" variable="currentTab" storyview="pop"><$set name="save-currentTiddler" value=<<currentTiddler>>><$tiddler tiddler=<<currentTab>>><$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}>
<$tiddler tiddler=<<save-currentTiddler>>> <$tiddler tiddler=<<save-currentTiddler>>>
<$set name="tv-wikilinks" value="no"> <$set name="tv-wikilinks" value="no">
<$transclude tiddler="$buttonTemplate$" mode="inline"> <$transclude tiddler="$buttonTemplate$" mode="inline">