Class: PhlexUI::Popover
- Defined in:
- lib/phlex_ui/popover.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options: {}, **attrs) ⇒ Popover
constructor
A new instance of Popover.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(options: {}, **attrs) ⇒ Popover
Returns a new instance of Popover.
5 6 7 8 |
# File 'lib/phlex_ui/popover.rb', line 5 def initialize(options: {}, **attrs) @options = super(**attrs) end |
Instance Method Details
#view_template ⇒ Object
10 11 12 |
# File 'lib/phlex_ui/popover.rb', line 10 def view_template(&) div(**attrs, &) end |