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