Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/DOM/Event/Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The integer value for the current event phase.
#### `stopPropagation`

``` purescript
stopPropagation :: Event -> Eff (dom :: DOM) Unit
stopPropagation :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
```

Prevents the event from bubbling up to futher event listeners. Other event
Expand All @@ -53,7 +53,7 @@ listeners on the current target will still fire.
#### `stopImmediatePropagation`

``` purescript
stopImmediatePropagation :: Event -> Eff (dom :: DOM) Unit
stopImmediatePropagation :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
```

Prevents all other listeners for the event from being called. This includes
Expand All @@ -78,7 +78,7 @@ Indicates whether the event can be cancelled.
#### `preventDefault`

``` purescript
preventDefault :: Event -> Eff (dom :: DOM) Unit
preventDefault :: forall eff. Event -> Eff (dom :: DOM | eff) Unit
```

Cancels the event if it can be cancelled.
Expand Down
10 changes: 5 additions & 5 deletions docs/DOM/Event/EventPhase.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ data EventPhase

##### Instances
``` purescript
instance eqEventPhase :: Eq EventPhase
instance ordEventPhase :: Ord EventPhase
instance boundedEventPhase :: Bounded EventPhase
instance boundedOrdEventPhase :: BoundedOrd EventPhase
instance enumEventPhase :: Enum EventPhase
Eq EventPhase
Ord EventPhase
Bounded EventPhase
BoundedOrd EventPhase
Enum EventPhase
```


Loading