Skip to content

Events

EventsDescription
onChange(optional) will be called on state changes made by the user. The callback value and rawValue is a number { value, rawValue, event }. But if the prop numberFormat is given, then it will return an additional number with the given format { value, number, rawValue, event }.
onDragStart(optional) will be called once the user stops dragging. Returns { event }.
onDragEnd(optional) will be called once the user starts dragging. Returns { event }.