Thank you Eric! Works great!

Minor note: in the above solution extra line breaks (perhaps on copy-paste) 
broke the code!

<$action-deletetiddler $tiddler={{{ [[$:/state/slider/]addsuffix
<currentTiddler>] }}} />

should be

<$action-deletetiddler $tiddler={{{ 
[[$:/state/slider/]addsuffix<currentTiddler>] }}} />

--Atro
On Sunday, November 8, 2020 at 5:44:39 PM UTC+3:30 Eric Shulman wrote:

> On Sunday, November 8, 2020 at 6:05:52 AM UTC-8, Atronoush wrote:
>>
>> This is a smart solution Eric! Is it possible to have a button to expand 
>> collapse all tiddler?
>
>
> As two separate buttons:
> <$button> expand all
>    <$list filter="[tag<currentTiddler>!sort[title]]">
>
>       <$action-setfield $tiddler={{{ [[$:/state/slider/]addsuffix
> <currentTiddler>] }}} text="show" />
>    </$list>
> </$button>
> <$button> collapse all
>    <$list filter="[tag<currentTiddler>!sort[title]]">
>
>       <$action-deletetiddler $tiddler={{{ [[$:/state/slider/]addsuffix
> <currentTiddler>] }}} />
>    </$list>
> </$button>
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40261552-b7de-414f-9cc4-b8057a0f79cfn%40googlegroups.com.

Reply via email to