Skip to content

Setting up events when using in Vanilla JS #137

Closed Answered by mob343
mob343 asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, I figured it out!

var MySlider = new RangeSliderPips({ target: document.querySelector("#capacity-slider"), props: { values: [minSize,maxSize], min: minSize, max: maxSize, range: true, pips: false, float: true }, }).$on( 'change', (e) => { let handle = e.detail.activeHandle; let value = e.detail.value; } });

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by simeydotme
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants