Class: RubyApp::Elements::Mobile::Navigation::NavigationList::NavigationListItem
- Inherits:
-
List::ListItem
- Object
- RubyApp::Element
- List::ListItem
- RubyApp::Elements::Mobile::Navigation::NavigationList::NavigationListItem
- Defined in:
- lib/ruby_app/elements/mobile/navigation/navigation_list.rb
Direct Known Subclasses
NavigationListPageItem, Pages::Information::InformationList::InformationListItem
Instance Attribute Summary
Attributes inherited from List::ListItem
Attributes inherited from RubyApp::Element
Instance Method Summary collapse
- #go(event, options) ⇒ Object
-
#initialize(item) ⇒ NavigationListItem
constructor
A new instance of NavigationListItem.
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(item) ⇒ NavigationListItem
Returns a new instance of NavigationListItem.
17 18 19 20 |
# File 'lib/ruby_app/elements/mobile/navigation/navigation_list.rb', line 17 def initialize(item) super(item) self.attributes.merge!('data-icon' => 'arrow-r') end |
Instance Method Details
#go(event, options) ⇒ Object
22 23 |
# File 'lib/ruby_app/elements/mobile/navigation/navigation_list.rb', line 22 def go(event, ) end |