Class: Ui::Dialog::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- Ui::Dialog::Component
- Defined in:
- lib/uikit_rails/templates/components/dialog/component.rb
Overview
Modal dialog with backdrop overlay.
Instance Attribute Summary collapse
-
#html_attrs ⇒ Object
readonly
Returns the value of attribute html_attrs.
Instance Method Summary collapse
-
#initialize(**html_attrs) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(**html_attrs) ⇒ Component
Returns a new instance of Component.
14 15 16 17 |
# File 'lib/uikit_rails/templates/components/dialog/component.rb', line 14 def initialize(**html_attrs) @html_attrs = html_attrs super() end |
Instance Attribute Details
#html_attrs ⇒ Object (readonly)
Returns the value of attribute html_attrs.
12 13 14 |
# File 'lib/uikit_rails/templates/components/dialog/component.rb', line 12 def html_attrs @html_attrs end |