Class: RubyUI::PaginationEllipsis

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_ui/pagination/pagination_ellipsis.rb

Constant Summary

Constants inherited from Base

Base::TAILWIND_MERGER

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RubyUI::Base

Instance Method Details

#view_template(&block) ⇒ Object



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

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