Class: UiComponents::DaisyUi::Action::Modal::AnchorComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::Action::Modal::AnchorComponent
- Defined in:
- app/components/ui_components/daisy_ui/action/modal/anchor_component.rb
Constant Summary collapse
- CSS_CLASSES_DEFAULT =
%w[btn].freeze
- CSS_CLASSES =
CSS_CLASSES_DEFAULT
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
-
#initialize(opener:, **args) ⇒ AnchorComponent
constructor
A new instance of AnchorComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(opener:, **args) ⇒ AnchorComponent
Returns a new instance of AnchorComponent.
15 16 17 18 19 20 21 22 |
# File 'app/components/ui_components/daisy_ui/action/modal/anchor_component.rb', line 15 def initialize( opener:, **args ) @opener = opener super(**args) end |