Topic: Documentation for range
soiware priority asked 1 month ago
I'm using the range component.Here I find docs: https://mdbootstrap.com/docs/standard/forms/range/#docsTabsOverview. But it not seems to me complete.How can I assign via JavaScript the value? How can I hook an event listener on changing? Where is full doc?
Kamila Pieńkowska staff answered 1 month ago
This is a component that mainly provide a styling for default HTML component. So you set value like you would for any input tag with JS.
To listen for value change you should listen for native input
event. If you want to catch the value change only when the user releases the slider, you can use the change
event.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 8.0.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes