Module: Components::SliderHelper

Defined in:
app/helpers/components/slider_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_slider(name:, value: 0, id: nil, **options) ⇒ Object



2
3
4
# File 'app/helpers/components/slider_helper.rb', line 2

def render_slider(name:, value: 0, id: nil, **options)
  render "components/ui/slider", value:, id:, name:, options:
end