Class: RUI::Navigation::MenuButton
- Inherits:
-
Base
- Object
- Phlex::HTML
- Base
- RUI::Navigation::MenuButton
show all
- Defined in:
- lib/rui/navigation/menu_button.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Constructor Details
This class inherits a constructor from RUI::Base
Instance Method Details
#view_template ⇒ Object
4
5
6
|
# File 'lib/rui/navigation/menu_button.rb', line 4
def view_template
render RUI::Buttons::Outline.new(icon: "menu", data: { action: "navigation#toggle", class: "lg:hidden" })
end
|