Class: Ferro::Combo::PullDownTitle
- Inherits:
-
Form::Block
- Object
- BaseElement
- Form::Input
- Form::Clickable
- Form::Block
- Ferro::Combo::PullDownTitle
- Defined in:
- opal/opal-ferro/elements/ferro_combos.js.rb
Overview
Internal class for use with PullDown. This element has a state: pull-down-open to define CSS rules.
Constant Summary
Constants included from Elementary
Instance Attribute Summary
Attributes inherited from BaseElement
#children, #domtype, #element, #parent, #sym
Instance Method Summary collapse
-
#clicked ⇒ Object
Internal method.
Methods inherited from Form::Block
Methods inherited from Form::Clickable
Methods inherited from Form::Input
#_after_create, #_before_create, #disable, #enable, #entered, #keydowned, #set_focus, #value, #value=
Methods inherited from BaseElement
#add_state, #add_states, #classify_state, #component, #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
#clicked ⇒ Object
Internal method.
107 108 109 |
# File 'opal/opal-ferro/elements/ferro_combos.js.rb', line 107 def clicked parent.toggle_state :pull_down_open end |