Class: Ui::Pagination::Component

Inherits:
BaseComponent
  • Object
show all
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

Instance Method Summary collapse

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_attrsObject (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