Skip to content

Commit

Permalink
Merge pull request #1220 from jackmoore/patch-1
Browse files Browse the repository at this point in the history
Add onError to Image Events
  • Loading branch information
marvinhagemeister committed Sep 30, 2018
2 parents 1369ab3 + c269c13 commit b7038d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/preact.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ declare global {
interface DOMAttributes extends preact.PreactDOMAttributes {
// Image Events
onLoad?: GenericEventHandler;
onError?: GenericEventHandler;
onLoadCapture?: GenericEventHandler;

// Clipboard Events
Expand Down

0 comments on commit b7038d1

Please sign in to comment.