Le mercredi 9 avril 2014 12:36:16 UTC+2, Jeremy Ruston a écrit : > > The linkcatcher widget captures tw-navigate messages, which is the message > generated by the link widget. > > >> Or suppose the link widget has "set" and "setTo" attributes. It could set >> a state tiddler to another value and thus activate a "reveal" widget and so >> maybe close a tiddler or better (in my case -:) ) a slider ... >> > > That's really what the linkcatcher lets us do: avoid having set/setTo > attributes on the link widget. > >
Hi Jeremy Thanks for your answer. I've tried the linkcatcher widget. Indeed it captures the message from the link widget inside. But if I use the set and setTo attributes it sets the right tiddler to the right value but the navigation to the target tiddler doesn't happen. I understand it's the correct behaviour of the linkcatcher widget. But I was wondering if it was possible to use the set and setTo attributes AND still propagate to the navigator widget the message originating from the link widget. So a click would both trigger a navigation AND set a tiddler to a value. Something like : <$linkcatcher set="$:/state/mystatetiddler" setTo="MyValue" propagate="Yes"> ...link(s) ... </$linkcatcher> I don't know if it's easy to do or even if it's a good idea ... FrD -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

