Skip to content

Events

PropertyTypeDescription
onChangefunction(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 }.
onDragStartfunction(optional) will be called once the user stops dragging. Returns { event }.
onDragEndfunction(optional) will be called once the user starts dragging. Returns { event }.