Matabeles recent work on listops inspired me to make an attempt at a cycle
button, i.e a button to toggle e.g "a - b - c - a - b ..."
I was surprised at how compact it turned out with listops so just thought
I'd share it. Sorry if I'm sharing something totally obvious but I think
the solutions I've seen so far have been more complex.
title:MyList
text:a b c
...and in some other(!) tiddler
<$button>
<$action-listops $tiddler="MyList" $field="text" $filter={{MyList}}
$subfilter="+[putlast[]]"/>
<$list filter="[list[MyList!!text]first[]]"><$view field="title"/></$list>
</$button>
Again, sorry if obvious.
<:-)
--
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/3ff36477-7a6a-4de1-96a1-3161b1d6b215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.