UNPKG

rangetouch

Version:

A super tiny library to make input type='range' sliders work better on touch devices

7 lines (6 loc) 267 B
const defaults = { addCSS: true, // Add CSS to the element to improve usability (required here or in your CSS!) thumbWidth: 15, // The width of the thumb handle watch: true, // Watch for new elements that match a string target }; export default defaults;