Class: Funicular::VDOM::Element
Instance Attribute Summary collapse
-
#children ⇒ Array[child_t]
readonly
Returns the value of attribute children.
-
#props ⇒ Hash[Symbol, untyped]
readonly
Returns the value of attribute props.
-
#tag ⇒ String
readonly
Returns the value of attribute tag.
Attributes inherited from VNode
Instance Method Summary collapse
- #== ⇒ Boolean
-
#initialize ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize ⇒ Element
Returns a new instance of Element.
27 |
# File 'sig/vdom.rbs', line 27
def initialize: (String tag, ?Hash[Symbol, untyped] props, ?Array[child_t] children) -> void
|
Instance Attribute Details
#children ⇒ Array[child_t] (readonly)
Returns the value of attribute children.
25 26 27 |
# File 'sig/vdom.rbs', line 25 def children @children end |
#props ⇒ Hash[Symbol, untyped] (readonly)
Returns the value of attribute props.
24 25 26 |
# File 'sig/vdom.rbs', line 24 def props @props end |
#tag ⇒ String (readonly)
Returns the value of attribute tag.
23 24 25 |
# File 'sig/vdom.rbs', line 23 def tag @tag end |
Instance Method Details
#== ⇒ Boolean
28 |
# File 'sig/vdom.rbs', line 28
def ==: (untyped other) -> bool
|