... I use "invokeActionString" if I pass actions to the widget from within a tiddler like
<$mywidget actions="<$action-dosomething/>"/> ... and dispatchEvent() if I want to do what you're trying to accomplish. just look at the widget.js tiddler. all the prototype functions are accessible from within your widget with "this.invokeActionString()", "this.dispatchEvent()" and so on. you need to define the "self" variable which saves the "this" variable (if it's called variable - I don't know) - because "this" will be something different in your ".on('dblclick', function(e) { ... });" - but "self" will be the original "this" https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this -- 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 post to this group, send email to tiddlywiki@googlegroups.com. 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/b45ef50e-a3d6-49b4-b3ba-d0806ad91a1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.