Make handy-scroll a web component
Architecture and APIs of the widget have been revised radically by turning handy-scroll into a modern web component. Using of the handy-scroll component has become much simpler and mostly as declarative as using other HTML elements. Please refer the project’s README for details of the new way of using the component. The project’s webpage contains updated live demos (you may also play with these demos on codepen.io).
Caution
Version 2 of the handy-scroll component is backwards-incompatible with the version 1. If you still target older browsers which lack full support of the modern Web Components technologies, please stay on the version 1: it’s still available but is in the maintenance mode.