Class: Mayu::VDOM::SpecialElements::A

Inherits:
Component::Base show all
Defined in:
lib/mayu/vdom/special_elements.rb

Constant Summary collapse

T.let(%r{\A[a-z0-9]+://}, Regexp)

Constants inherited from Component::Base

Component::Base::INLINE_CSS_ASSETS

Instance Method Summary collapse

Methods inherited from Component::Base

__mayu_resource!, __mayu_resource?, assets, #async, #children, #did_update, get_derived_state_from_props, get_initial_state, #handler, #initialize, initialize, #mayu, #mount, #props, setup_component, #should_update?, #state, styles, #styles, stylesheet, stylesheet!, #unmount, #update, #vnode_id

Constructor Details

This class inherits a constructor from Mayu::Component::Base

Instance Method Details

#renderObject



39
40
41
# File 'lib/mayu/vdom/special_elements.rb', line 39

def render
  T.unsafe(VDOM::H)[:__mayu_a, *children, **overridden_props]
end