Class: UiComponents::DaisyUi::Action::ModalComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::Action::ModalComponent
- Defined in:
- app/components/ui_components/daisy_ui/action/modal_component.rb
Constant Summary collapse
- CSS_CLASSES =
( Modal::AnchorComponent::CSS_CLASSES + Modal::DialogComponent::CSS_CLASSES ).freeze
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES_DEFAULT, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Method Summary collapse
-
#initialize(opener: "my_modal", **args) ⇒ ModalComponent
constructor
A new instance of ModalComponent.
Constructor Details
#initialize(opener: "my_modal", **args) ⇒ ModalComponent
Returns a new instance of ModalComponent.
22 23 24 25 26 27 28 29 |
# File 'app/components/ui_components/daisy_ui/action/modal_component.rb', line 22 def initialize( opener: "my_modal", **args ) @opener = opener super(**args) end |