Class: RubyUI::SidebarTrigger
- Defined in:
- lib/ruby_ui/sidebar/sidebar_trigger.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RubyUI::Base
Instance Method Details
#view_template ⇒ Object
5 6 7 8 9 10 |
# File 'lib/ruby_ui/sidebar/sidebar_trigger.rb', line 5 def view_template(&) Button(variant: :ghost, size: :icon, **attrs) do panel_left_icon span(class: "sr-only") { "Toggle Sidebar" } end end |