I think I have figured that out in the past, here is the code that I 
re-discovered in my own wiki. (If you have FontAwesome, you can delete 
"tc-btn-boxed","show", and "hide" from the example.)


\define sliderButtonClasses() tc-btn-invisible tc-btn-boxed

\define sliderState(contentTiddlerTitle stateTiddlerPath:"$:/state/slider/")
$stateTiddlerPath$$contentTiddlerTitle$
\end

\define slideThis(tiddler)
<$reveal type="nomatch" state=<<sliderState '$tiddler$'>> text="show">

<$button set=<<sliderState '$tiddler$'>> setTo="show" class=<<
sliderButtonClasses>>
><span class="fas fa-fw fa-plus"/>show</$button><$link 
to={{$tiddler$!!title}}><$view tiddler='$tiddler$' 
field="caption">{{$tiddler$!!title}}</$view></$link>

</$reveal>
<$reveal type="match"   state=<<sliderState '$tiddler$'>> text="show">

<$button message="tm-delete-tiddler" param=<<sliderState '$tiddler$'>> 
class=<<sliderButtonClasses>>
><$action-deletefield $tiddler=<<sliderState '$tiddler$'>> $field=text/><span 
class="fas fa-fw fa-minus"/>hide</$button><$link 
to={{$tiddler$!!title}}><$view tiddler='$tiddler$' 
field="caption">{{$tiddler$!!title}}</$view></$link>

<<<
{{$tiddler$}}
<<<
</$reveal>
\end


<<slideThis "$:/HistoryList">>




On Wednesday, December 19, 2018 at 11:12:17 PM UTC-8, Dave wrote:
>
> Yes :)
>
>
> I think there are ways to have it stay open if you want, but I'm not at my 
> computer right now to figure that out
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cb8aa262-9259-4b3e-bf19-560b3cddf5db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to