/* 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 { /** * 组件名字,用于表单提交获取数据。 */ name?: string; /** * 最小值。 */ min?: number; /** * 最大值。 */ max?: number; /** * 步长,值必须大于 0,并可被(max-min)整除。 */ step?: number; /** * 是否禁用。 */ disabled?: boolean; /** * 当前取值。 */ value?: number; /** * 是否显示当前 value。 */ "show-value"?: boolean; /** * 已选择的颜色,同 CSS 色值。 */ "active-color"?: string; /** * 背景条颜色,同 CSS 色值。 */ "background-color"?: string; /** * 轨道线条高度。 */ "track-size"?: number; /** * 滑块大小。 */ "handle-size"?: number; /** * 滑块填充色,同 CSS 色值。 */ "handle-color"?: string; /** * 完成一次拖动后触发,event.detail = {value: value}。 */ onChange?: () => void; /** * 拖动过程中触发的事件,event.detail = {value: value}。 */ onChanging?: () => void; }