Power Slider

離散的な段階を持つ範囲コントロール。ドラッグ中にプレビューし、離したときに確定します。

対応フレームワーク
  • Angular: 対応
  • Vue: 対応
  • React: 対応
  • React Native: 未対応

使い方

Committed: balanced

インポート

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

API リファレンス

SonePowerSliderComponentコンポーネント

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.

セレクター
sone-power-slider
入力
名前型 デフォルト
rungsreadonly PowerRung[][]
ariaLabelstring | nullnull
value双方向string""
disabledbooleanfalse