Class: UiComponents::DaisyUi::Action::Modal::Dialog::BoxComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::Action::Modal::Dialog::BoxComponent
- Defined in:
- app/components/ui_components/daisy_ui/action/modal/dialog/box_component.rb
Constant Summary collapse
- CSS_CLASSES_DEFAULT =
%w[modal-box].freeze
- CSS_CLASSES =
( CSS_CLASSES_DEFAULT + Box::TitleComponent::CSS_CLASSES + Box::BodyComponent::CSS_CLASSES + Box::ActionComponent::CSS_CLASSES + Box::CloseComponent::CSS_CLASSES ).freeze
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Method Summary collapse
-
#initialize(backdrop: false, **args) ⇒ BoxComponent
constructor
A new instance of BoxComponent.
Constructor Details
#initialize(backdrop: false, **args) ⇒ BoxComponent
Returns a new instance of BoxComponent.
32 33 34 35 36 37 38 39 |
# File 'app/components/ui_components/daisy_ui/action/modal/dialog/box_component.rb', line 32 def initialize( backdrop: false, **args ) @backdrop = backdrop super(**args) end |