arainyu / mobiscroll

Automatically exported from code.google.com/p/mobiscroll
0 stars 0 forks source link

on change event #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any way to trigger the onChange ?
Could you add it please.

Thank you

What version of the product are you using? On what operating system?
win7, ff6,

Original issue reported on code.google.com by janb...@gmail.com on 2 Oct 2011 at 11:28

GoogleCodeExporter commented 8 years ago
What do you mean? The change event for the associated input field is triggered 
every time you push the Select button.

Original comment by diosla...@gmail.com on 17 Oct 2011 at 5:54

GoogleCodeExporter commented 8 years ago
What about onSelect, for whenever a + or - button is selected?

Original comment by bender.ross on 7 Dec 2011 at 3:13

GoogleCodeExporter commented 8 years ago

Original comment by diosla...@gmail.com on 3 Jan 2012 at 8:10

GoogleCodeExporter commented 8 years ago
I think this was a valid question. I too would like to be able to trigger the 
events that are defined in a MobiScroll object, outside of MobiScrolls normal 
functioning. 

For example, I may have programmed some business logic in the onSelect 
function. I would like to call it at some point where the user isn't anywhere 
near the actual scroller. Is that possible at this time? 
I tried object.trigger('onSelect') which felt like the most intuitive thing to 
do, with no result. If there is currently no way, could you make event 
triggering possible in just that way? 

(I am posting in this old thread, because this is the first result when 
Googling for "mobiscroll trigger event")

Original comment by sygmo...@gmail.com on 9 Jan 2013 at 2:30