Class: Ferro::Component::Base
- Inherits:
-
BaseElement
- Object
- BaseElement
- Ferro::Component::Base
- Defined in:
- opal/opal-ferro/elements/ferro_components.js.rb
Overview
A generic component element. In the DOM creates a: <div>. All semantical elements inherit from this class.
Constant Summary
Constants included from Elementary
Instance Attribute Summary
Attributes inherited from BaseElement
#children, #domtype, #element, #parent, #sym
Instance Method Summary collapse
-
#component ⇒ Object
Return self when called by children / descendants.
Methods inherited from BaseElement
#add_state, #add_states, #classify_state, #dom_id, #factory, #get_text, #html, #initialize, #option_replace, #remove_attribute, #root, #router, #set_attribute, #set_text, #state_active?, #toggle_state, #update_state, #value, #value=
Methods included from Elementary
#_after_create, #_before_create, #_stylize, #add_child, #after_create, #before_create, #cascade, #create, #creation, #destroy, #each_child, #forget_children, #method_missing, #remove_child, #style, #symbolize
Constructor Details
This class inherits a constructor from Ferro::BaseElement
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ferro::Elementary
Instance Method Details
#component ⇒ Object
Return self when called by children / descendants.
11 12 13 |
# File 'opal/opal-ferro/elements/ferro_components.js.rb', line 11 def component self end |