How soundar24/roundslider works
roundSlider is a jQuery control for choosing a single value or a range on circular, partial-circle, and pie-shaped sliders. The user configures the plugin, interacts with its handles, and receives value and interaction events. The main runtime is concentrated in one JavaScript file; distinct nodes below represent responsibilities within it, not separate modules. README documents appearance customization and options; source excerpts show interaction, value updates, and tooltip/event handling, but do not expose every internal call.
Main entry points: roundslider.js Options and values · roundslider.css Slider styling
Components 8
Slider runtime
- Plugin API
src/roundslider.js - Options and values
src/roundslider.js - Handle interaction
src/roundslider.js - Circle geometry
src/roundslider.js - Tooltip and events
src/roundslider.js
Appearance
- Slider styling
src/roundslider.css
Other components
- User
- jQuery host
Connections 9
- User → Plugin API: configures
README.md - jQuery host → Plugin API: hosts plugin
README.md - Plugin API → Options and values: uses options
README.md - User → Handle interaction: moves handles
README.md - Handle interaction → Options and values: updates values
src/roundslider.js - Handle interaction → Tooltip and events: raises events
src/roundslider.js - Options and values → Tooltip and events: refreshes tooltip
src/roundslider.js - Options and values → Circle geometry: sets circle shape
src/roundslider.js - Slider styling → Plugin API: styles control
README.md