This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +90
-67
lines changed Expand file tree Collapse file tree 9 files changed +90
-67
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ The integer value for the current event phase.
4444#### ` stopPropagation `
4545
4646``` purescript
47- stopPropagation :: Event -> Eff (dom :: DOM) Unit
47+ stopPropagation :: forall eff. Event -> Eff (dom :: DOM | eff ) Unit
4848```
4949
5050Prevents the event from bubbling up to futher event listeners. Other event
@@ -53,7 +53,7 @@ listeners on the current target will still fire.
5353#### ` stopImmediatePropagation `
5454
5555``` purescript
56- stopImmediatePropagation :: Event -> Eff (dom :: DOM) Unit
56+ stopImmediatePropagation :: forall eff. Event -> Eff (dom :: DOM | eff ) Unit
5757```
5858
5959Prevents all other listeners for the event from being called. This includes
@@ -78,7 +78,7 @@ Indicates whether the event can be cancelled.
7878#### ` preventDefault `
7979
8080``` purescript
81- preventDefault :: Event -> Eff (dom :: DOM) Unit
81+ preventDefault :: forall eff. Event -> Eff (dom :: DOM | eff ) Unit
8282```
8383
8484Cancels the event if it can be cancelled.
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ data EventPhase
1212
1313##### Instances
1414``` purescript
15- instance eqEventPhase :: Eq EventPhase
16- instance ordEventPhase :: Ord EventPhase
17- instance boundedEventPhase :: Bounded EventPhase
18- instance boundedOrdEventPhase :: BoundedOrd EventPhase
19- instance enumEventPhase :: Enum EventPhase
15+ Eq EventPhase
16+ Ord EventPhase
17+ Bounded EventPhase
18+ BoundedOrd EventPhase
19+ Enum EventPhase
2020```
2121
2222
You can’t perform that action at this time.
0 commit comments