Class: TaoUi::Components::DialogComponent
- Inherits:
-
TaoOnRails::Components::Base
- Object
- TaoOnRails::Components::Base
- TaoUi::Components::DialogComponent
- Defined in:
- lib/tao_ui/components/dialog_component.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(view, options) ⇒ DialogComponent
constructor
A new instance of DialogComponent.
Constructor Details
#initialize(view, options) ⇒ DialogComponent
Returns a new instance of DialogComponent.
5 6 7 8 9 10 11 |
# File 'lib/tao_ui/components/dialog_component.rb', line 5 def initialize view, super view, unless [:with_close_button].in? [true, false] [:with_close_button] = true end end |
Class Method Details
.component_name ⇒ Object
13 14 15 |
# File 'lib/tao_ui/components/dialog_component.rb', line 13 def self.component_name :dialog end |