Class: PhlexUI::Dialog
Defined Under Namespace
Classes: Content, Description, Footer, Header, Middle, Title, Trigger
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(open: false, **attrs) ⇒ Dialog
constructor
A new instance of Dialog.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(open: false, **attrs) ⇒ Dialog
Returns a new instance of Dialog.
5 6 7 8 |
# File 'lib/phlex_ui/dialog.rb', line 5 def initialize(open: false, **attrs) @open = open super(**attrs) end |
Instance Method Details
#view_template ⇒ Object
10 11 12 |
# File 'lib/phlex_ui/dialog.rb', line 10 def view_template(&) div(**attrs, &) end |