Le vendredi 13 novembre 2015, Fritz a écrit :

> On Fri, 13 Nov 2015, Frédéric wrote:
> 
> > To improve the design, I would like to know if it is possible to avoid
> > the 'changeValue' event to be triggered when I set a new value from the
> > code (using toggle.setValue())? I would like this event to be triggered
> > only when the user *clicks* on the toggle, from the GUI...
>
> I had a similar problem and solved it by listening to the click event
> instead of the changeValue event. Inside the click event handler you can
> use getValue() to get the new value.

I just noticed that my toggles does not work when I 'slide' them (on
mobiles), instead of clicking onto them.

What signal should I also bind to react to that? I tried 'swipe', but it
does not seem to work...

Thanks,

-- 
    Frédéric

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to