This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ foreign import eventPhaseIndex :: Event -> Int
44
44
45
45
-- | Prevents the event from bubbling up to futher event listeners. Other event
46
46
-- | listeners on the current target will still fire.
47
- foreign import stopPropagation :: Event -> Eff (dom :: DOM ) Unit
47
+ foreign import stopPropagation :: forall eff . Event -> Eff (dom :: DOM | eff ) Unit
48
48
49
49
-- | Prevents all other listeners for the event from being called. This includes
50
50
-- | event listeners added to the current target after the current listener.
51
- foreign import stopImmediatePropagation :: Event -> Eff (dom :: DOM ) Unit
51
+ foreign import stopImmediatePropagation :: forall eff . Event -> Eff (dom :: DOM | eff ) Unit
52
52
53
53
-- | Indicates whether the event will bubble up through the DOM or not.
54
54
foreign import bubbles :: Event -> Boolean
@@ -57,7 +57,7 @@ foreign import bubbles :: Event -> Boolean
57
57
foreign import cancelable :: Event -> Boolean
58
58
59
59
-- | Cancels the event if it can be cancelled.
60
- foreign import preventDefault :: Event -> Eff (dom :: DOM ) Unit
60
+ foreign import preventDefault :: forall eff . Event -> Eff (dom :: DOM | eff ) Unit
61
61
62
62
-- | Indicates whether `preventDefault` was called on the event.
63
63
foreign import defaultPrevented :: Event -> Boolean
You can’t perform that action at this time.
0 commit comments