UNPKG

@readium/navigator

Version:

Next generation SDK for publications in Web Apps

25 lines (24 loc) 773 B
import { Loader, ModuleName } from "@readium/navigator-html-injectables"; import { FrameComms } from "../epub/frame/FrameComms"; export declare class WebPubFrameManager { private frame; private loader; readonly source: string; private comms; private hidden; private destroyed; private currModules; constructor(source: string); load(modules?: ModuleName[]): Promise<Window>; destroy(): Promise<void>; hide(): Promise<void>; show(atProgress?: number): Promise<void>; setCSSProperties(properties: { [key: string]: string; }): void; get iframe(): HTMLIFrameElement; get realSize(): DOMRect; get window(): Window; get msg(): FrameComms | undefined; get ldr(): Loader<ModuleName> | undefined; }