viewer.js icon indicating copy to clipboard operation
viewer.js copied to clipboard

Scroll events: Human vs code triggered. Can we differentiate?

Open Pawan-Bishnoi opened this issue 9 years ago • 0 comments

This is regarding scroll events. Can I differentiate when a user scrolls from the ones triggered by code?

For example, in jquery we have ev.originalEvent which can tell if this event was triggered by a human.

Or maybe a way to pass custom data when triggering viewer scroll and access the same in event listeners?

Pawan-Bishnoi avatar Dec 21 '16 12:12 Pawan-Bishnoi