Class: PhlexUI::DropdownMenu::Content
- Defined in:
- lib/phlex_ui/dropdown_menu/content.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PhlexUI::Base
Instance Method Details
#view_template(&block) ⇒ Object
5 6 7 8 9 |
# File 'lib/phlex_ui/dropdown_menu/content.rb', line 5 def view_template(&block) template_tag(data: {popover_target: "content"}) do div(**attrs, &block) end end |