/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Slider { /** * 最小值 */ min?: number; /** * 最大值 */ max?: number; /** * 步长,取值必须大于 0,并且可被(max - min)整除 */ step?: number; /** * 是否禁用 */ disabled?: boolean; /** * 当前取值 */ value?: number; /** * 背景条的颜色(请使用 backgroundColor) */ color?: string; /** * 已选择的颜色(请使用 activeColor) */ "selected-color"?: string; /** * 已选择的颜色 */ activeColor?: string; /** * 背景条的颜色 */ backgroundColor?: string; /** * 滑块的大小,取值范围为 12 - 28 */ "block-size"?: number; /** * 滑块的颜色 */ "block-color"?: string; /** * 是否显示当前 value */ "show-value"?: boolean; /** * 完成一次拖动后触发的事件,event.detail = {value} */ bindChange?: () => void; /** * 拖动过程中触发的事件,event.detail = {value} */ bindChanging?: () => void; }