Class: Sirens::ComponentView
- Inherits:
-
AbstractView
- Object
- AbstractView
- Sirens::ComponentView
- Defined in:
- lib/views/component_view.rb
Instance Method Summary collapse
Methods inherited from AbstractView
accepted_styles, #accepted_styles, #add_view, #attribute_at, #background_color=, #foreground_color=, #height, #height=, #initialize, #populate_popup_menu_block=, #remove_view, #set_attribute, #show, #show_popup_menu, #state_colors_from, view_accepted_styles, #width, #width=
Constructor Details
This class inherits a constructor from Sirens::AbstractView
Instance Method Details
#main_child_view ⇒ Object
4 5 6 |
# File 'lib/views/component_view.rb', line 4 def main_child_view() @child_views.first end |
#main_handle ⇒ Object
8 9 10 |
# File 'lib/views/component_view.rb', line 8 def main_handle() main_child_view.main_handle end |