UNPKG

@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) 592 B
import { IExtension } from "./modules/uv-shared-module/IExtension"; import { EventHandler, EventHandlerWithName } from "./PubSub"; import BaseContentHandler from "../../BaseContentHandler"; import { IIIFData } from "./IIIFData"; export interface IIIFExtensionHost extends BaseContentHandler<IIIFData> { extension: IExtension | undefined; isFullScreen: boolean; publish(event: string, args?: any, extra?: any): void; subscribe(event: string, handler: EventHandler): void; subscribeAll(handler: EventHandlerWithName): void; resize(): void; exitFullScreen(): void; }