Class: Funicular::VDOM::VNode

Inherits:
Object
  • Object
show all
Defined in:
sig/vdom.rbs

Direct Known Subclasses

Component, Element, Text

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVNode

Returns a new instance of VNode.

Parameters:

  • type (Symbol)


19
# File 'sig/vdom.rbs', line 19

def initialize: (Symbol type) -> void

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.

Returns:

  • (Object)


17
18
19
# File 'sig/vdom.rbs', line 17

def key
  @key
end

#typeSymbol (readonly)

Returns the value of attribute type.

Returns:

  • (Symbol)


16
17
18
# File 'sig/vdom.rbs', line 16

def type
  @type
end