UNPKG

@readium/navigator

Version:

Next generation SDK for publications in Web Apps

24 lines (23 loc) 854 B
import { ModuleName } from "@readium/navigator-html-injectables"; import { Locator, Publication } from "@readium/shared"; import { WebPubFrameManager } from "./WebPubFrameManager"; export declare class WebPubFramePoolManager { private readonly container; private _currentFrame; private currentCssProperties; private readonly pool; private readonly blobs; private readonly inprogress; private pendingUpdates; private currentBaseURL; constructor(container: HTMLElement, cssProperties?: { [key: string]: string; }); destroy(): Promise<void>; update(pub: Publication, locator: Locator, modules: ModuleName[]): Promise<void>; setCSSProperties(properties: { [key: string]: string; }): void; get currentFrames(): (WebPubFrameManager | undefined)[]; get currentBounds(): DOMRect; }