RangeInput

An input field that let the user specify a numeric value in a given range , usually using a slider


Provides a wrapper for Phoenix.HTML.Form's range_input/3 function.

All options passed via opts will be sent to range_input/3 , value , min , max and class can be set directly and will override anything in opts .



<RangeInput min="1" max="100"/>

# Public API

Name Description Type Values Default
opts Options list.

:keyword []
class Class or classes to apply to the input.

:css_class
value Value to pre-populated the input.

:string
field An identifier for the input.

:string
form An identifier for the form.

:form
min Minimum value for the input.

:string
max Maximum value for the input.

:string
step Sets or returns the value of the step attribute of the slider control.

:string