Dead simple horizontal Joystick built as web components on top of input[type=range]
.
Installation
npm install jjoystick
yarn add jjoystick
Events
dir
- when directions changed even without ending the touch / clickend
- when interaction endedzero
- when handle went to the initial position
Usage