Open Pawan-Bishnoi opened 7 years ago
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?
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?