svantic
Version:
A set of Fomantic-UI components for Svelte framework
125 lines (124 loc) • 3.8 kB
TypeScript
/** @typedef {typeof __propDef.props} CheckboxProps */
/** @typedef {typeof __propDef.events} CheckboxEvents */
/** @typedef {typeof __propDef.slots} CheckboxSlots */
export default class Checkbox extends SvelteComponentTyped<{
onMount: any;
name: any;
id: any;
class?: string;
inverted?: boolean;
style?: {};
fitted?: boolean;
type?: string;
toggle?: boolean;
settings?: {};
attachEvents?: (selector: any, behavior: any) => any;
ready?: () => Promise<any>;
state?: string;
setDisabled?: () => any;
check?: () => any;
uncheck?: () => any;
indeterminate?: () => any;
determinate?: () => any;
enable?: () => any;
radio?: boolean;
slider?: boolean;
toggleCheckbox?: () => any;
setChecked?: () => any;
setUnchecked?: () => any;
setIndeterminate?: () => any;
setDeterminate?: () => any;
setEnabled?: () => any;
isRadio?: () => any;
isChecked?: () => any;
isUnchecked?: () => any;
canChange?: () => any;
shouldAllowCheck?: () => any;
shouldAllowUncheck?: () => any;
shouldAllowDeterminate?: () => any;
shouldAllowIndeterminate?: () => any;
canUncheck?: () => any;
}, {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {
default: {};
}> {
get toggleCheckbox(): () => any;
get check(): () => any;
get uncheck(): () => any;
get indeterminate(): () => any;
get determinate(): () => any;
get enable(): () => any;
get setChecked(): () => any;
get setUnchecked(): () => any;
get setIndeterminate(): () => any;
get setDeterminate(): () => any;
get setEnabled(): () => any;
get setDisabled(): () => any;
get attachEvents(): (selector: any, behavior: any) => any;
get isRadio(): () => any;
get isChecked(): () => any;
get isUnchecked(): () => any;
get canChange(): () => any;
get shouldAllowCheck(): () => any;
get shouldAllowUncheck(): () => any;
get shouldAllowDeterminate(): () => any;
get shouldAllowIndeterminate(): () => any;
get canUncheck(): () => any;
get ready(): () => Promise<any>;
}
export type CheckboxProps = typeof __propDef.props;
export type CheckboxEvents = typeof __propDef.events;
export type CheckboxSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
onMount: any;
name: any;
id: any;
class?: string;
inverted?: boolean;
style?: {};
fitted?: boolean;
type?: string;
toggle?: boolean;
settings?: {};
attachEvents?: (selector: any, behavior: any) => any;
ready?: () => Promise<any>;
state?: string;
setDisabled?: () => any;
check?: () => any;
uncheck?: () => any;
indeterminate?: () => any;
determinate?: () => any;
enable?: () => any;
radio?: boolean;
slider?: boolean;
toggleCheckbox?: () => any;
setChecked?: () => any;
setUnchecked?: () => any;
setIndeterminate?: () => any;
setDeterminate?: () => any;
setEnabled?: () => any;
isRadio?: () => any;
isChecked?: () => any;
isUnchecked?: () => any;
canChange?: () => any;
shouldAllowCheck?: () => any;
shouldAllowUncheck?: () => any;
shouldAllowDeterminate?: () => any;
shouldAllowIndeterminate?: () => any;
canUncheck?: () => any;
};
events: {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export {};