Power Slider

Una escala discreta como control de rango que muestra una vista previa al arrastrar y confirma al soltar.

Disponible en
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: aún no disponible

Uso

Committed: balanced

Importación

ts
import {
  SonePowerSliderComponent,
} from "@surface-one/angular/power-slider";

Referencia de la API

SonePowerSliderComponentComponente

Dragging fires `input` continuously (preview only); only `change` (release / keyboard settle) commits `value` and `onChange` once — otherwise dragging past the end would persist every rung on the way.

Selector
sone-power-slider
Inputs
NombreTipo Predeterminado
rungsreadonly PowerRung[][]
ariaLabelstring | nullnull
valuebidireccionalstring""
disabledbooleanfalse