1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00
TiddlyWiki5/core/ui/ViewToolbar/more.tid

30 lines
1.1 KiB
Plaintext
Raw Normal View History

title: $:/core/ui/Buttons/more
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-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
2014-07-29 09:20:13 +00:00
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
2014-07-28 10:29:06 +00:00
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/down-arrow}}
</$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/More/Caption}}/>
</$list>
</$button>
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
<div class="tw-drop-down">
<$set name="tw-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more]]" variable="listItem">
2014-07-29 09:20:13 +00:00
<$reveal type="match" state=<<config-title>> text="hide">
2014-07-28 10:29:06 +00:00
<$transclude tiddler=<<listItem>>/>
</$reveal>
</$list>
</$set>
</$set>
</div>
</$reveal>