This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree 2 files changed +9
-8
lines changed
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())
7
7
import DOM
8
8
import DOM.Node.Types
9
9
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())
7
7
import DOM
8
8
import DOM.Node.Types
9
9
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