On Friday, August 19, 2016 at 5:21:14 PM UTC+2, David Someone wrote: > > Having said that... Really what I'm trying to learn is how to write a > javascript widget that sends messages up the chain to the tiddler the > widget is sitting on, and I'm stuck on doing this with a button widget! > Child widgets made in button.js do work (i.e. text), but not > action-sendmessage! >
Hi, Again - If you describe, what you want to achieve, we could probably tell you the easiest way. .. If you just want to learn, who TW works, imo the best way is, to debug the existing and working code. Once you understand how the mechanism works, you can start to modify stuff. Browser debugging tools [F12] are your friends here. Set breakpoints and single step through the code. ... That's how I learn new code. It may seem cumbersome, but it sometimes is enlightening. ... If I look at your code, I have the feeling, that you lost your way. ... That's not who the stuff is supposed to work. That's why it causes problems. ... Just my guess. No offence intended. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywikidev@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/ba716b96-12ef-48a0-8ff9-3e2dea34d5b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.