Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 5142e00

Browse files
committed
Merge pull request #30 from beckyconning/fixes-29
Open effect rows in DOM.Event.Event
2 parents 863c47a + 30a4279 commit 5142e00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DOM/Event/Event.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ foreign import eventPhaseIndex :: Event -> Int
4444

4545
-- | Prevents the event from bubbling up to futher event listeners. Other event
4646
-- | 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
4848

4949
-- | Prevents all other listeners for the event from being called. This includes
5050
-- | 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
5252

5353
-- | Indicates whether the event will bubble up through the DOM or not.
5454
foreign import bubbles :: Event -> Boolean
@@ -57,7 +57,7 @@ foreign import bubbles :: Event -> Boolean
5757
foreign import cancelable :: Event -> Boolean
5858

5959
-- | 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
6161

6262
-- | Indicates whether `preventDefault` was called on the event.
6363
foreign import defaultPrevented :: Event -> Boolean

0 commit comments

Comments
 (0)