Class: DaisyUI::HoverGallery
- Defined in:
- lib/daisy_ui/hover_gallery.rb
Constant Summary
Constants inherited from Base
Base::BOOLS, Base::COLOR_MODIFIERS
Instance Method Summary collapse
-
#initialize(as: :figure) ⇒ HoverGallery
constructor
A new instance of HoverGallery.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(as: :figure) ⇒ HoverGallery
Returns a new instance of HoverGallery.
8 9 10 |
# File 'lib/daisy_ui/hover_gallery.rb', line 8 def initialize(*, as: :figure, **) super end |
Instance Method Details
#view_template ⇒ Object
12 13 14 |
# File 'lib/daisy_ui/hover_gallery.rb', line 12 def view_template(&) public_send(as, class: classes, **attributes, &) end |