svantic
Version:
A set of Fomantic-UI components for Svelte framework
76 lines (75 loc) • 2.17 kB
TypeScript
/** @typedef {typeof __propDef.props} SliderProps */
/** @typedef {typeof __propDef.events} SliderEvents */
/** @typedef {typeof __propDef.slots} SliderSlots */
export default class Slider extends SvelteComponentTyped<{
class: any;
style: any;
aligned: any;
onMount: any;
disabled?: boolean;
inverted?: boolean;
size?: string;
color?: string;
vertical?: boolean;
settings?: {};
ready?: () => Promise<any>;
reversed?: boolean;
labeled?: boolean;
setValue?: (value: any) => any;
getValue?: () => any;
range?: boolean;
ticked?: boolean;
getThumbValue?: (which: any) => any;
getNumLabels?: () => any;
setRangeValue?: (fromValue: any, toValue: any) => any;
}, {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {
default: {};
}> {
get getValue(): () => any;
get getThumbValue(): (which: any) => any;
get getNumLabels(): () => any;
get setValue(): (value: any) => any;
get setRangeValue(): (fromValue: any, toValue: any) => any;
get ready(): () => Promise<any>;
}
export type SliderProps = typeof __propDef.props;
export type SliderEvents = typeof __propDef.events;
export type SliderSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
class: any;
style: any;
aligned: any;
onMount: any;
disabled?: boolean;
inverted?: boolean;
size?: string;
color?: string;
vertical?: boolean;
settings?: {};
ready?: () => Promise<any>;
reversed?: boolean;
labeled?: boolean;
setValue?: (value: any) => any;
getValue?: () => any;
range?: boolean;
ticked?: boolean;
getThumbValue?: (which: any) => any;
getNumLabels?: () => any;
setRangeValue?: (fromValue: any, toValue: any) => any;
};
events: {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export {};