1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/ui/ViewToolbar/more-tiddler-actions.tid

53 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-07-30 21:25:52 +00:00
title: $:/core/ui/Buttons/more-tiddler-actions
2014-07-28 10:29:06 +00:00
tags: $:/tags/ViewToolbar
2014-07-29 09:20:13 +00:00
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
2014-07-31 08:28:46 +00:00
description: {{$:/language/Buttons/More/Hint}}
2014-07-28 10:29:06 +00:00
\whitespace trim
2014-07-28 10:29:06 +00:00
\define config-title()
2014-07-29 09:20:13 +00:00
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
2014-07-28 10:29:06 +00:00
\end
<$button popup=<<qualify "$:/state/popup/more">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
2014-07-28 10:29:06 +00:00
{{$:/core/images/down-arrow}}
</$list>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text">
<$text text=" "/>
<$text text={{$:/language/Buttons/More/Caption}}/>
</span>
2014-07-28 10:29:06 +00:00
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="belowleft" animate="yes">
<div class="tc-drop-down">
2014-08-28 21:28:02 +00:00
<$set name="tv-config-toolbar-icons" value="yes">
2014-08-28 21:28:02 +00:00
<$set name="tv-config-toolbar-text" value="yes">
<$set name="tv-config-toolbar-class" value="tc-btn-invisible">
2014-07-30 21:25:52 +00:00
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]" variable="listItem">
2014-07-29 09:20:13 +00:00
<$reveal type="match" state=<<config-title>> text="hide">
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
<$transclude tiddler=<<listItem>> mode="inline"/>
</$set>
2014-07-28 10:29:06 +00:00
</$reveal>
2014-07-28 10:29:06 +00:00
</$list>
2014-07-28 10:29:06 +00:00
</$set>
2014-07-28 10:29:06 +00:00
</$set>
</$set>
2014-07-28 10:29:06 +00:00
</div>
</$reveal>