From ea2c518e9daf7849b3a48041473764860943d586 Mon Sep 17 00:00:00 2001 From: Irakli Safareli Date: Thu, 18 Jan 2018 20:15:40 +0100 Subject: [PATCH] add onError --- src/React/DOM/Props.purs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/React/DOM/Props.purs b/src/React/DOM/Props.purs index 8f762ba..61404b0 100644 --- a/src/React/DOM/Props.purs +++ b/src/React/DOM/Props.purs @@ -497,6 +497,10 @@ onTransitionEnd :: forall eff props state result. (Event -> EventHandlerContext eff props state result) -> Props onTransitionEnd f = unsafeMkProps "onTransitionEnd" (handle f) +onError :: forall eff props state result. + (Event -> EventHandlerContext eff props state result) -> Props +onError f = unsafeMkProps "onError" (handle f) + onLoad :: forall eff props state result. (Event -> EventHandlerContext eff props state result) -> Props onLoad f = unsafeMkProps "onLoad" (handle f)