Class: RubyUI::BreadcrumbEllipsis

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_ui/breadcrumb/breadcrumb_ellipsis.rb

Constant Summary

Constants inherited from Base

RubyUI::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_templateObject



5
6
7
8
9
10
# File 'lib/ruby_ui/breadcrumb/breadcrumb_ellipsis.rb', line 5

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