UNPKG

svantic

Version:

A set of Fomantic-UI components for Svelte framework

75 lines (74 loc) 2.19 kB
/** @typedef {typeof __propDef.props} PopupProps */ /** @typedef {typeof __propDef.events} PopupEvents */ /** @typedef {typeof __propDef.slots} PopupSlots */ export default class Popup extends SvelteComponentTyped<{ show?: () => any; hide?: () => any; toggle?: () => any; settings?: {}; isVisible?: () => any; isHidden?: () => any; ready?: () => Promise<any>; exists?: () => any; reposition?: () => any; hideAll?: () => any; getPopup?: () => any; changeContent?: (html: any) => any; setPosition?: (position: any) => any; removePopup?: () => any; }, { mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, { default: { popup: (node: any) => (...args: any[]) => any; }; }> { get show(): () => any; get hide(): () => any; get hideAll(): () => any; get getPopup(): () => any; get changeContent(): (html: any) => any; get toggle(): () => any; get isVisible(): () => any; get isHidden(): () => any; get exists(): () => any; get reposition(): () => any; get setPosition(): (position: any) => any; get removePopup(): () => any; get ready(): () => Promise<any>; } export type PopupProps = typeof __propDef.props; export type PopupEvents = typeof __propDef.events; export type PopupSlots = typeof __propDef.slots; import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { show?: () => any; hide?: () => any; toggle?: () => any; settings?: {}; isVisible?: () => any; isHidden?: () => any; ready?: () => Promise<any>; exists?: () => any; reposition?: () => any; hideAll?: () => any; getPopup?: () => any; changeContent?: (html: any) => any; setPosition?: (position: any) => any; removePopup?: () => any; }; events: { mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { default: { popup: (node: any) => (...args: any[]) => any; }; }; }; export {};