Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Handling preventDefault #2

Description

@mdgriffith

I have a project which uses spacebar and backspace as controls, both of which have builtin defaults in the browser that I need to bypass.

Being able to selectively preventDefault on a key-by-key basis would be ideal or in some cases to preventDefault on a conditional basis within elm. e.g. Only preventDefault for a key if the model has a certain state. However at the moment my app doesn't require the latter.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions