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 🌎

18 lines (17 loc) 694 B
import "@google/model-viewer/dist/model-viewer"; import { IExternalResource } from "manifesto.js"; import { CenterPanel } from "../uv-shared-module/CenterPanel"; import { Config } from "../../extensions/uv-model-viewer-extension/config/Config"; export declare class ModelViewerCenterPanel extends CenterPanel<Config["modules"]["modelViewerCenterPanel"]> { $modelviewer: JQuery; $spinner: JQuery; isLoaded: boolean; constructor($element: JQuery); create(): void; whenLoaded(cb: () => void): void; private overlayAnnotations; private clearAnnotations; private getCameraOrbit; openMedia(resources: IExternalResource[]): Promise<void>; resize(): void; }