@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
35 lines (34 loc) • 1.67 kB
TypeScript
/// <reference types="react" />
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
/**
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameMainMenuButton}.
*/
export declare class WebFrameMainMenuButtonParams extends BaseControlParams {
/** Стандартный CSS класс со стилями элемента управления */
standardCssClass?: string;
/** Показывать ли меню справа. По умолчанию слева. */
showOnRightSide?: boolean;
services?: $ApplicationSettings & $LocalStorage;
}
export interface IWebFrameMainMenuButtonState extends WebFrameMainMenuButtonParams, BaseControlState {
}
/**
* Класс элемента управления WebFrameMainMenuButton.
*/
export declare class WebFrameMainMenuButton extends BaseControl<WebFrameMainMenuButtonParams, IWebFrameMainMenuButtonState> {
/** @notest @internal */
protected createParams(): WebFrameMainMenuButtonParams;
/** @notest @internal */
protected createImpl(): ControlImpl;
handleClickOutside: (event: any) => void;
componentDidMount(): void;
componentWillUnmount(): void;
switchMainMenu: () => void;
updateSidebarPinLogic: () => void;
hideMainMenu: () => void;
showMainMenu: () => void;
renderControl(): JSX.Element;
}