svantic
Version:
A set of Fomantic-UI components for Svelte framework
64 lines (63 loc) • 1.76 kB
TypeScript
/** @typedef {typeof __propDef.props} RatingProps */
/** @typedef {typeof __propDef.events} RatingEvents */
/** @typedef {typeof __propDef.slots} RatingSlots */
export default class Rating extends SvelteComponentTyped<{
class: any;
icon: any;
style: any;
onMount: any;
disabled?: boolean;
size?: string;
color?: string;
settings?: {};
ready?: () => Promise<any>;
enable?: () => any;
disable?: () => any;
rating?: string;
maxRating?: string;
setRating?: (rating: any) => any;
getRating?: () => any;
clearRating?: () => any;
}, {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {}> {
get setRating(): (rating: any) => any;
get getRating(): () => any;
get disable(): () => any;
get enable(): () => any;
get clearRating(): () => any;
get ready(): () => Promise<any>;
}
export type RatingProps = typeof __propDef.props;
export type RatingEvents = typeof __propDef.events;
export type RatingSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
class: any;
icon: any;
style: any;
onMount: any;
disabled?: boolean;
size?: string;
color?: string;
settings?: {};
ready?: () => Promise<any>;
enable?: () => any;
disable?: () => any;
rating?: string;
maxRating?: string;
setRating?: (rating: any) => any;
getRating?: () => any;
clearRating?: () => any;
};
events: {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export {};