Class: Lapillus::Pager::FirstButton
- Inherits:
-
PagerButton
- Object
- RenderableComponent
- Component
- Container
- AjaxLink
- PagerButton
- Lapillus::Pager::FirstButton
- Defined in:
- lib/lapillus/pager.rb
Instance Attribute Summary
Attributes inherited from Container
Attributes inherited from Component
#behaviours, #identifier, #model, #property, #visible
Instance Method Summary collapse
Methods inherited from PagerButton
Methods inherited from AjaxLink
#initialize, #on_click_handler=, #render_component, #render_to_element
Methods inherited from Container
#[], #add, add_component, #component, fileuploadfield, image, #initialize, label, listview, panel, password_textfield, #post, #render_children, textarea, textfield
Methods inherited from Component
#add_behaviour, #behaviour, #has_behaviour?, #has_model?, #has_parent?, #initialize, #parent, #path, #response_page=, #session, #value, #webpage
Methods inherited from RenderableComponent
#initialize, #on_render, #render_behaviours, #render_children, #render_component, #render_container, #render_to_element, #visible?
Constructor Details
This class inherits a constructor from Lapillus::Pager::PagerButton
Instance Method Details
#on_click ⇒ Object
61 62 63 |
# File 'lib/lapillus/pager.rb', line 61 def on_click @pager.current = 1 end |