Skip to content

preventDefault? #83

Closed
Closed
@teh

Description

@teh

Right now I'm stopping events from propagating like this:

onSubmit ev = do
  (unsafeCoerce ev).preventDefault
  ...    

Would you be opposed to me introducing this function (and others from https://facebook.github.io/react/docs/events.html)?

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