Class: PhlexUI::Pagination::Ellipsis

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex_ui/pagination/ellipsis.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#before_template, #initialize

Constructor Details

This class inherits a constructor from PhlexUI::Base

Instance Method Details

#view_template(&block) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/phlex_ui/pagination/ellipsis.rb', line 5

def view_template(&block)
  li do
    span(**attrs) do
      icon
      span(class: "sr-only") { "More pages" }
    end
  end
end