Hi Stephan
You'd have to pass a reference to the implementation of handleInputEvent.
Something like this:
var self = this;
...
jscolor.color( domNode, { hash : true, onImmediateChange :
self.handleInputEvent
} );
Best wishes
Jeremy
On Wed, Apr 9, 2014 at 3:42 PM, Stephan Hradek <[email protected]>wrote:
> I tried to call "handleInputEvent" alas I have no idea how to get it.
>
> I tried this:
>
> jscolor.color( domNode, { hash : true, onImmediateChange :
> EditTextWidget.prototype.handleInputEvent } );
>
> But this gives me JavaScript errors.
>
> I gues I need to get the handler somehow from my domNodeā¦
>
--
Jeremy Ruston
mailto:[email protected]
--
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.