Class: DaisyUI::Hover3d

Inherits:
Base
  • Object
show all
Defined in:
lib/daisy_ui/hover3d.rb

Constant Summary collapse

GRID_DIVS =
8

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

#view_templateObject



9
10
11
12
13
14
# File 'lib/daisy_ui/hover3d.rb', line 9

def view_template(&)
  public_send(as, class: classes, **attributes) do
    yield if block_given?
    GRID_DIVS.times { div }
  end
end