@acdh-oeaw/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
14 lines (13 loc) • 539 B
TypeScript
import { IIIFExtensionHost } from "../../IIIFExtensionHost";
export declare class Panel {
extensionHost: IIIFExtensionHost;
$element: JQuery;
fitToParentWidth: boolean;
fitToParentHeight: boolean;
isResized: boolean;
constructor($element: JQuery, fitToParentWidth?: boolean, fitToParentHeight?: boolean);
create(): void;
whenResized(cb: () => void): void;
onAccessibleClick(el: JQuery, callback: (e: JQueryEventObject) => void, withClick?: boolean, treatAsButton?: boolean): void;
resize(): void;
}