I'm learning a lot about TW5, really.

I discovered that the navigator widget is instantiated on PageTemplate, 
that's why it is capturing events and mine not. I get my inspiration from 
the fieldmanglerWidget which mades me suspect.

Now I'm pretty sure that I'm in the good way.


El sábado, 5 de abril de 2014 22:56:19 UTC+2, Danielo Rodríguez escribió:
>
> Hello
>
> I want to create a widget that captures certain message events.
> I used part of the code of the NavigatorWidget with no success.
> Can this be accomplished? How?
> Thanks in advance.
>
> Here is what I am trying 
>
> var MyWidget = function(parseTreeNode,options) {
> this.initialise(parseTreeNode,options);
> this.addEventListeners([
> {type: "tw-custom-event", handler: "handleEvent"},
> {type: "tw-custom-custom2", handler: "handleEvent"},
> ]);
> };
>
> What am I missing?
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to