svantic
Version:
A set of Fomantic-UI components for Svelte framework
91 lines (90 loc) • 2.6 kB
TypeScript
/** @typedef {typeof __propDef.props} SideBarProps */
/** @typedef {typeof __propDef.events} SideBarEvents */
/** @typedef {typeof __propDef.slots} SideBarSlots */
export default class SideBar extends SvelteComponentTyped<{
class: any;
style: any;
onMount: any;
inverted?: boolean;
vertical?: boolean;
dimmed?: boolean;
show?: () => any;
hide?: () => any;
toggle?: () => any;
wide?: string;
visible?: boolean;
direction?: string;
menu?: boolean;
settings?: {};
attachEvents?: (selector: any, event: any) => any;
isVisible?: () => any;
isHidden?: () => any;
pushPage?: () => any;
getDirection?: () => any;
pullPage?: () => any;
addBodyCSS?: () => any;
removeBodyCSS?: () => any;
getTransitionEvent?: () => any;
ready?: () => Promise<any>;
}, {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {
default: {};
}> {
get attachEvents(): (selector: any, event: any) => any;
get show(): () => any;
get hide(): () => any;
get toggle(): () => any;
get isVisible(): () => any;
get isHidden(): () => any;
get pushPage(): () => any;
get getDirection(): () => any;
get pullPage(): () => any;
get addBodyCSS(): () => any;
get removeBodyCSS(): () => any;
get getTransitionEvent(): () => any;
get ready(): () => Promise<any>;
}
export type SideBarProps = typeof __propDef.props;
export type SideBarEvents = typeof __propDef.events;
export type SideBarSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
class: any;
style: any;
onMount: any;
inverted?: boolean;
vertical?: boolean;
dimmed?: boolean;
show?: () => any;
hide?: () => any;
toggle?: () => any;
wide?: string;
visible?: boolean;
direction?: string;
menu?: boolean;
settings?: {};
attachEvents?: (selector: any, event: any) => any;
isVisible?: () => any;
isHidden?: () => any;
pushPage?: () => any;
getDirection?: () => any;
pullPage?: () => any;
addBodyCSS?: () => any;
removeBodyCSS?: () => any;
getTransitionEvent?: () => any;
ready?: () => Promise<any>;
};
events: {
mount: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export {};