Skip to content

How to use preventDefault() ? #71

Description

@webdevabhi

Hi i have a need to read the pressed key and prevent from actual key press.

As KeyEvent is only returning me {"action": 1, "keyCode": 30, "pressedKey": "B"}
How to access the event object to preventDefault() ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions