Skip to content

Commit 095f934

Browse files
safareliethul
authored andcommitted
add onError (#133)
1 parent c03129a commit 095f934

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/React/DOM/Props.purs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,10 @@ onTransitionEnd :: forall eff props state result.
478478
(Event -> EventHandlerContext eff props state result) -> Props
479479
onTransitionEnd f = unsafeMkProps "onTransitionEnd" (handle f)
480480

481+
onError :: forall eff props state result.
482+
(Event -> EventHandlerContext eff props state result) -> Props
483+
onError f = unsafeMkProps "onError" (handle f)
484+
481485
onLoad :: forall eff props state result.
482486
(Event -> EventHandlerContext eff props state result) -> Props
483487
onLoad f = unsafeMkProps "onLoad" (handle f)

0 commit comments

Comments
 (0)