Skip to content

How to use preventDefault() ? #71

@webdevabhi

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() ?

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