This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ import Data.Nullable (Nullable())
77import DOM
88import DOM.Node.Types
99
10- -- | The first element within node's descendants with a matching ID, or null if
11- -- | no such element exists.
12- foreign import getElementById :: forall eff . ElementId -> NonDocumentTypeChildNode -> Eff (dom :: DOM | eff ) (Nullable Element )
10+ -- | The previous sibling that is an element, or null if no such element exists.
11+ foreign import previousElementSibling :: forall eff . NonDocumentTypeChildNode -> Eff (dom :: DOM | eff ) (Nullable Element )
12+
13+ -- | The next sibling that is an element, or null if no such element exists.
14+ foreign import nextElementSibling :: forall eff . NonDocumentTypeChildNode -> Eff (dom :: DOM | eff ) (Nullable Element )
15+
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ import Data.Nullable (Nullable())
77import DOM
88import DOM.Node.Types
99
10- -- | The previous sibling that is an element, or null if no such element exists.
11- foreign import previousElementSibling :: forall eff . NonElementParentNode -> Eff (dom :: DOM | eff ) (Nullable Element )
12-
13- -- | The next sibling that is an element, or null if no such element exists.
14- foreign import nextElementSibling :: forall eff . NonElementParentNode -> Eff (dom :: DOM | eff ) (Nullable Element )
10+ -- | The first element within node's descendants with a matching ID, or null if
11+ -- | no such element exists.
12+ foreign import getElementById :: forall eff . ElementId -> NonElementParentNode -> Eff (dom :: DOM | eff ) (Nullable Element )
You can’t perform that action at this time.
0 commit comments