Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
jet
master
Top Level Namespace
DOM
Node
NodeType
Element
Text
Jet
Built with Crystal 1.9.2
2023-10-07 16:04:49 UTC
class
DOM::Node
DOM::Node
Reference
Object
Defined in:
jet/dom.cr
Constructors
.new
(children : Array(Node), node_type : NodeType::Element)
.new
(node_type : NodeType::Text)
.new
Instance Method Summary
#children
: Array(DOM::Node)?
#node_type
: DOM::NodeType::Element | DOM::NodeType::Text | Nil
Constructor Detail
def self.
new
(children : Array(
Node
), node_type :
NodeType::Element
)
#
[
View source
]
def self.
new
(node_type :
NodeType::Text
)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
children
: Array(
DOM::Node
)?
#
[
View source
]
def
node_type
:
DOM::NodeType::Element
|
DOM::NodeType::Text
| Nil
#
[
View source
]