Class: Daisy::Actions::SwapComponent::SwapOn

Inherits:
LocoMotion::BasicComponent show all
Defined in:
app/components/daisy/actions/swap_component.rb

Instance Method Summary collapse

Methods inherited from LocoMotion::BasicComponent

#call, name

Instance Method Details

#before_renderObject



70
71
72
# File 'app/components/daisy/actions/swap_component.rb', line 70

def before_render
  add_css(:component, "swap-on")
end