Skip to content

Commit

Permalink
Added "onInvalid" form event in TS (#1221)
Browse files Browse the repository at this point in the history
Added an event `onInvalid` form event which is of type `GenericEventHandler` in TS of preact
  • Loading branch information
namankheterpal authored and marvinhagemeister committed Nov 13, 2018
1 parent 377e31b commit 95075f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/preact.d.ts
Expand Up @@ -455,6 +455,7 @@ declare global {
onSearchCapture?: GenericEventHandler;
onSubmit?: GenericEventHandler;
onSubmitCapture?: GenericEventHandler;
onInvalid?: GenericEventHandler;

// Keyboard Events
onKeyDown?: KeyboardEventHandler;
Expand Down

0 comments on commit 95075f4

Please sign in to comment.