Add option to specify root to which to bind events
Add option to specify root to which to bind events

It defaults to the original document. This is useful for creating range
inputs within iframes or shadow roots as their root is not the same as
document and events do not propagate all the way up to it.

Stryzhevskyi/rangeSlider,Stryzhevskyi/rangeSlider