Class: RubyApp::Elements::Mobile::Input
- Inherits:
-
RubyApp::Element
- Object
- RubyApp::Element
- RubyApp::Elements::Mobile::Input
- Defined in:
- lib/ruby_app/elements/mobile/input.rb
Direct Known Subclasses
RubyApp::Elements::Mobile::Inputs::DateInput, RubyApp::Elements::Mobile::Inputs::DurationInput, RubyApp::Elements::Mobile::Inputs::EmailInput, RubyApp::Elements::Mobile::Inputs::MultilineInput, RubyApp::Elements::Mobile::Inputs::ToggleInput
Defined Under Namespace
Classes: ChangedEvent
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from RubyApp::Element
Instance Method Summary collapse
-
#initialize ⇒ Input
constructor
A new instance of Input.
Methods inherited from RubyApp::Element
Methods included from Mixins::ConfigurationMixin
Methods included from Mixins::TranslateMixin
Methods included from Mixins::TemplateMixin
#exclude_parent_template, #exclude_parent_template?, #get_cache, #get_default_template, #get_template, #get_template_name, #get_templates, #template_path
Methods included from Mixins::RenderMixin
#content_for, #get_cache, #get_default_template, #get_templates, #render
Constructor Details
#initialize ⇒ Input
Returns a new instance of Input.
37 38 39 40 41 42 43 |
# File 'lib/ruby_app/elements/mobile/input.rb', line 37 def initialize super self.attributes.merge!(:type => :text) @value = nil end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
33 34 35 |
# File 'lib/ruby_app/elements/mobile/input.rb', line 33 def value @value end |