Class: Funicular::VDOM::Component
Instance Attribute Summary collapse
-
#children ⇒ Array[child_t]
readonly
Returns the value of attribute children.
-
#component_class ⇒ Object
readonly
Returns the value of attribute component_class.
-
#instance ⇒ Object
Returns the value of attribute instance.
-
#props ⇒ Hash[Symbol, untyped]
readonly
Returns the value of attribute props.
-
#runtime ⇒ Runtime?
Returns the value of attribute runtime.
Attributes inherited from VNode
Instance Method Summary collapse
- #== ⇒ Boolean
-
#initialize ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize ⇒ Component
Returns a new instance of Component.
64 |
# File 'sig/vdom.rbs', line 64
def initialize: (untyped component_class, ?Hash[Symbol, untyped] props, ?Array[child_t] children) -> void
|
Instance Attribute Details
#children ⇒ Array[child_t] (readonly)
Returns the value of attribute children.
60 61 62 |
# File 'sig/vdom.rbs', line 60 def children @children end |
#component_class ⇒ Object (readonly)
Returns the value of attribute component_class.
58 59 60 |
# File 'sig/vdom.rbs', line 58 def component_class @component_class end |
#instance ⇒ Object
Returns the value of attribute instance.
61 62 63 |
# File 'sig/vdom.rbs', line 61 def instance @instance end |
#props ⇒ Hash[Symbol, untyped] (readonly)
Returns the value of attribute props.
59 60 61 |
# File 'sig/vdom.rbs', line 59 def props @props end |
#runtime ⇒ Runtime?
Returns the value of attribute runtime.
62 63 64 |
# File 'sig/vdom.rbs', line 62 def runtime @runtime end |
Instance Method Details
#== ⇒ Boolean
65 |
# File 'sig/vdom.rbs', line 65
def ==: (untyped other) -> bool
|