use-radial-move
Handles radial move behavior over given element, can be used to build custom radial sliders
Import
Source
Docs
Package
Usage
use-radial-move
hook can be used to create custom radial sliders, for example AngleSlider
component is based on this hook. It works similar to use-move hook.
Example of creating custom radial slider:
115°
Hook options
use-radial-move
hook accepts 2 arguments:
- A callback function that is called when the value changes
- An option object described below