Class: Ui::Pagination::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- Ui::Pagination::Component
- Defined in:
- lib/uikit_rails/templates/components/pagination/component.rb
Overview
Page navigation with previous, next, and page links.
Defined Under Namespace
Classes: EllipsisItem, NextItem, PageItem, PrevItem
Instance Attribute Summary collapse
-
#html_attrs ⇒ Object
readonly
Returns the value of attribute html_attrs.
Instance Method Summary collapse
-
#initialize(**html_attrs) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(**html_attrs) ⇒ Component
Returns a new instance of Component.
22 23 24 25 |
# File 'lib/uikit_rails/templates/components/pagination/component.rb', line 22 def initialize(**html_attrs) @html_attrs = html_attrs super() end |
Instance Attribute Details
#html_attrs ⇒ Object (readonly)
Returns the value of attribute html_attrs.
20 21 22 |
# File 'lib/uikit_rails/templates/components/pagination/component.rb', line 20 def html_attrs @html_attrs end |