Slider

A slider for selecting a number between two values. It supports minimum and maximum limits, step size, and can validate custom rules.

Methods

MethodDescription

setValue(value: number)

sets component's value

setDisabled (value: boolean)

sets component disabled

focus()

sets focus on a component

validate()

triggers component validation

resetValidation()

resets validation errors

setRequired(required: boolean)

sets component required state

reset()

resets component to the initial value

Triggers

Triggers allow you to launch certain actions based on different events.

On Change

Calls for an action when the component's state is changed

On Init

Calls for an action on component initialization, e.g., page refresh

Last updated

© 2024 UI Bakery