naver / egjs-axes

A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates.
https://naver.github.io/egjs-axes/
MIT License
179 stars 32 forks source link

feat: add bounceRatio to onChange, onRelease #170

Closed malangfox closed 2 years ago

malangfox commented 2 years ago

Details

Since the Axes event does not have a property associated with bounce ratio, current bounce ratio is calculated manually like this demo. This feature adds property about bounce ratio to onChange, onRelease for supporting actions associated with bounce.