*Good to know*

What is the application of cycle macro?

One example is Todolist plugin. 5 colores are set as priority level and by 
clicking on a button you can cycle through colors to set the priority level.

--Mohammad

On Friday, July 19, 2019 at 1:22:23 PM UTC+4:30, Mohammad wrote:
>
> The cycle macro gets an array (list) of items and creates a button to 
> cycle through them. Clicking on the button, it selects the current item and 
> stores it in the state tiddler. Clicking again cycle through the array and 
> selects the next item. If all items are selected already, the cycle 
> selects the first item again.
>
> The state tiddler is used to store the selected item. By default the text 
> field is used, but other fields can be used through the stateField 
> parameter.
>
>
> Published in Yazd!
>
>
> --Mohammad 
>
>  
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d75f038-fbe3-455d-8b5f-cea7d8f71b26%40googlegroups.com.

Reply via email to