svantic
Version:
A set of Fomantic-UI components for Svelte framework
73 lines (72 loc) • 2.07 kB
TypeScript
/** @typedef {typeof __propDef.props} EmbedProps */
/** @typedef {typeof __propDef.events} EmbedEvents */
/** @typedef {typeof __propDef.slots} EmbedSlots */
export default class Embed extends SvelteComponentTyped<{
class?: string;
style?: {};
data?: {};
show?: () => any;
hide?: () => any;
settings?: {};
ready?: () => Promise<any>;
onMount?: (_: any) => void;
change?: (source: any, id: any, url: any) => any;
reset?: () => any;
getId?: () => any;
getPlaceholder?: () => any;
getSources?: () => any;
getType?: () => any;
getUrl?: () => any;
hasPlaceholder?: () => any;
}, {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {
default: {};
}> {
get change(): (source: any, id: any, url: any) => any;
get reset(): () => any;
get show(): () => any;
get hide(): () => any;
get getId(): () => any;
get getPlaceholder(): () => any;
get getSources(): () => any;
get getType(): () => any;
get getUrl(): () => any;
get hasPlaceholder(): () => any;
get ready(): () => Promise<any>;
}
export type EmbedProps = typeof __propDef.props;
export type EmbedEvents = typeof __propDef.events;
export type EmbedSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
class?: string;
style?: {};
data?: {};
show?: () => any;
hide?: () => any;
settings?: {};
ready?: () => Promise<any>;
onMount?: (_: any) => void;
change?: (source: any, id: any, url: any) => any;
reset?: () => any;
getId?: () => any;
getPlaceholder?: () => any;
getSources?: () => any;
getType?: () => any;
getUrl?: () => any;
hasPlaceholder?: () => any;
};
events: {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export {};