Class: Bs5::CarouselComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Bs5::CarouselComponent
- Includes:
- ComponentsHelper, ViewComponent::SlotableV2
- Defined in:
- app/components/bs5/carousel_component.rb
Constant Summary collapse
- CAROUSEL_OPTIONS =
%i[interval keyboard pause slide wrap touch].freeze
Constants included from ComponentsHelper
Bs5::ComponentsHelper::COMPONENTS
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CarouselComponent
constructor
A new instance of CarouselComponent.
Methods included from ComponentsHelper
#bs5_collapse, #bs5_popover, #bs5_tooltip
Constructor Details
#initialize(options = {}) ⇒ CarouselComponent
Returns a new instance of CarouselComponent.
13 14 15 16 |
# File 'app/components/bs5/carousel_component.rb', line 13 def initialize( = {}) @options = .symbolize_keys end |