How do I find component event descriptions in the document?



  • Hi,How do I find component event descriptions in the document?


  • Onsen UI

    @czpae86 In the reference page of each element there is an “Events” section.



  • Some do not specify. such as ons-range element,How to capture change events?


  • Onsen UI

    @czpae86 Only the custom events are specified, the native ones are assumed. Just capture it normally with addEventListener or onchange handler.

    Edit: Actually, the range only throws change when you release the drag. If you want something continuous use input event instead.


Log in to reply