@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
26 lines (25 loc) • 919 B
TypeScript
import PdfReportPlugin from "../plugin";
import { GcRightSidebarTool, GcRightSidebarState } from "./types";
import { LayersPanel } from "../Layers/LayersPanel";
export declare class GcRightSidebar {
plugin: PdfReportPlugin;
private _sidebarElement;
private _layersPanel;
private _activeTool;
private _activeState;
private _sidebarToggle;
constructor(plugin: PdfReportPlugin);
show(sidebarState?: GcRightSidebarState, expandedTool?: GcRightSidebarTool | undefined): void;
hide(): void;
collapse(): void;
expand(): void;
toggle(): void;
get activeTool(): GcRightSidebarTool;
get activeState(): GcRightSidebarState;
get layersPanel(): LayersPanel | null;
get hasLayersPanel(): boolean;
addLayersPanel(sidebarState?: GcRightSidebarState): void;
removeLayersPanel(): void;
private _updateUI;
private _createControls;
}