Skip to content

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

@Pawan-Bishnoi

Description

@Pawan-Bishnoi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions