Class: DaisyUI::Fab
Constant Summary
Constants inherited from Base
Base::BOOLS, Base::COLOR_MODIFIERS
Instance Method Summary collapse
Methods inherited from Base
inherited, #initialize, register_modifiers
Constructor Details
This class inherits a constructor from DaisyUI::Base
Instance Method Details
#close(**options) ⇒ Object
12 13 14 |
# File 'lib/daisy_ui/fab.rb', line 12 def close(**, &) div(class: component_classes("fab-close", options:), **, &) end |
#main_action(**options) ⇒ Object
16 17 18 |
# File 'lib/daisy_ui/fab.rb', line 16 def main_action(**, &) div(class: component_classes("fab-main-action", options:), **, &) end |
#view_template ⇒ Object
8 9 10 |
# File 'lib/daisy_ui/fab.rb', line 8 def view_template(&) public_send(as, class: classes, **attributes, &) end |