You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we use the slide inside an anchor, I will subscribe to the slide, slideStop and SlideStart event but I cannot make work the preventDefault and the anchor still receive the initial click.
My current solution is:
this.bindings.on("click", ".slider", function (e) {
e.preventDefault();
})
I do not know if this the normal behavior of the slider, but I believe that in most cases it will be good to have a property in construction to specify the events that we want to prevent or stop.
The text was updated successfully, but these errors were encountered:
When we use the slide inside an anchor, I will subscribe to the slide, slideStop and SlideStart event but I cannot make work the preventDefault and the anchor still receive the initial click.
My current solution is:
this.bindings.on("click", ".slider", function (e) {
e.preventDefault();
})
I do not know if this the normal behavior of the slider, but I believe that in most cases it will be good to have a property in construction to specify the events that we want to prevent or stop.
The text was updated successfully, but these errors were encountered: