Hi Mario,

Thanks a lot for this code. I'll make good use of it (and for a "down" 
button too !).
I looked at http://tiddlywiki.com/ and couldn't find some doc about

variable=ignore

in the list widget or elsewhere. What is the effect of this declaration, 
preserve <<currentTiddler>>  without having to declare another variable ?

Regards

FrD



Le jeudi 16 février 2017 15:43:07 UTC+1, PMario a écrit :
>
>
> Hi FrD,
>
> Don't show the button, if you don't want to click it ;)
>
>
>
> \define subfilter() [list[!!items]] +[move:-1[$(it)$]]
>
> \define upButton()
> <$list filter="[list[!!items]first[]] -$(it)$" variable=ignore 
> emptyMessage=''><$button><$action-listops $field="items" 
> $subfilter=<<subfilter>>/>Up</$button></$list>
> \end
>
> <$list filter="[list[!!items]]" variable="it">
>
> <<it>> <<upButton>>
> </$list>
>
> have fun!
> mario
>

-- 
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/7d0fa662-9320-43b9-9086-bd8dfbd029be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to