mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-20 08:44:52 +00:00
cf00658ddf
And also a full-height “fold” button for unfolded tiddlers. Trying to address #1908
17 lines
859 B
Plaintext
17 lines
859 B
Plaintext
title: $:/core/ui/ViewTemplate/unfold
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
<$reveal tag="div" type="nomatch" state=<<folded-state>> text="hide" default="show" retain="yes" animate="yes">
|
|
<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class="tc-fold-banner">
|
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
|
{{$:/core/images/chevron-up}}
|
|
</$button>
|
|
</$reveal>
|
|
|
|
<$reveal tag="div" type="nomatch" state=<<folded-state>> text="show" default="show" retain="yes" animate="yes">
|
|
<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class="tc-unfold-banner">
|
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
|
{{$:/core/images/chevron-down}}
|
|
</$button>
|
|
</$reveal>
|