The
cyclemacro 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, thecycleselects the first item again.The state tiddler is used to store the selected item. By default the
textfield is used, but other fields can be used through thestateFieldparameter.
Nice Mohammad, would you be able to cycle through days of the month with this? e.g. For a quick day view on a diary app?
Breaking News - "Todolist not done!"
Nice Mohammad, would you be able to cycle through days of the month with this? e.g. For a quick day view on a diary app?
<<cycle arraySet:"Monday Tuesday Wednesday Thursday Friday Saturday Sunday" stateTiddler:"Test200" stateField:"text" btnCaption:"{{Test200}}" >>
title: Test300
text: 1 2 3 4 5 6 7 8 9 10
<$macrocall $name="cycle" arraySet={{Test300}} stateTiddler="Test300" stateField="tags" />