@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
21 lines (20 loc) • 730 B
TypeScript
import { IImageViewer } from "../../ImageViewer/Models/IImageViewer";
import { PageToolsPlugin } from "./PageToolsPlugin";
export declare function addPageTools(viewer: any, pageToolsPlugin: PageToolsPlugin): void;
export declare function removePageTools(viewer: any): void;
export declare function getShortcutTitlePart(viewer: any, key: string): any;
export declare function PageToolsButton(viewer: IImageViewer, pageToolsPlugin: PageToolsPlugin): {
key: string;
icon: {
type: string;
content: any;
};
title: string;
checked: boolean;
enabled: boolean;
action: () => void;
onUpdate: (args: any) => {
enabled: boolean;
checked: boolean;
};
};