Class: Ui::Dialog::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
lib/uikit_rails/templates/components/dialog/component.rb

Overview

Modal dialog with backdrop overlay.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_attrsObject (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