@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
17 lines (16 loc) • 559 B
TypeScript
import { ModalWindow } from "@docsvision/webclient/Legacy/ModalWindow";
import { BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
export interface IUserMenu {
Show(): void;
CloseMenu(): void;
ShowUserProfileDialog: () => Promise<any>;
ShowAboutDialog(title: string): void;
ShowExitDialog(): void;
UserModal: ModalWindow;
IsClosed: boolean;
toggle?: BasicApiEvent<boolean>;
}
export declare type $UserMenu = {
userMenu: IUserMenu;
};
export declare const $UserMenu: string | ((model?: $UserMenu) => IUserMenu);