We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d96a9 commit 4911003Copy full SHA for 4911003
src/node.jl
@@ -15,7 +15,10 @@ with some child nodes and additional properties.
15
The most common type of `Node` is a DOM node. These can be constructed just by
16
specifying a symbol as the `instanceof` (they are promoted to an instance of
17
`WebIO.DOM` under the hood).
18
+
19
```jldoctest
20
+julia> using WebIO
21
22
julia> Node(:div, Node(:p, "I am a paragraph!", class="important"))
23
(div
24
(p { class="important" }
@@ -60,6 +63,8 @@ type.
60
63
61
64
# Examples
62
65
66
67
68
julia> repr(WebIO.promote_instanceof(:div))
69
"WebIO.DOM(:html, :div)"
70
```
0 commit comments