ViewerConfig: { adapter?: AdapterConstructor | [AdapterConstructor, any]; canvasBackground?: string; caption?: string; container: HTMLElement | string; defaultPitch?: number | string; defaultTransition?: TransitionOptions; defaultYaw?: number | string; defaultZoomLvl?: number; description?: string; downloadName?: string; downloadUrl?: string; fisheye?: boolean | number; keyboard?: | boolean | "always" | "fullscreen" | Record<string, ACTIONS | (viewer: Viewer) => void>; keyboardActions?: Record< string, ACTIONS | (viewer: Viewer, e: KeyboardEvent) => void, >; lang?: Record<string, string>; loadingImg?: string; loadingTxt?: string; maxFov?: number; minFov?: number; mousemove?: boolean; mousewheel?: boolean; mousewheelCtrlKey?: boolean; moveInertia?: boolean | number; moveSpeed?: number; navbar?: boolean | string | (
string | NavbarCustomButton)
[]; panoData?: PanoData | PanoDataProvider; panorama?: any; plugins?: (
PluginConstructor | [PluginConstructor, any])
[]; rendererParameters?: WebGLRendererParameters; requestHeaders?: | Record<string, string> | (url: string) => Record<string, string>; size?: CssSize; sphereCorrection?: SphereCorrection; touchmoveTwoFingers?: boolean; withCredentials?: boolean; zoomSpeed?: number;} Type declaration
Optional
canvasBackground?: string
Optional
caption?: string
container: HTMLElement | string
Optional
defaultPitch?: number | string
Optional
defaultYaw?: number | string
Optional
defaultZoomLvl?: number
Optional
description?: string
Optional
downloadName?: string
Optional
downloadUrl?: string
Optional
fisheye?: boolean | number
Optional
keyboard?:
| boolean
| "always"
| "fullscreen"
| Record<string, ACTIONS | (viewer: Viewer) => void>
Optional
keyboardActions?: Record<string, ACTIONS | (viewer: Viewer, e: KeyboardEvent) => void>
Optional
lang?: Record<string, string>
Optional
loadingImg?: string
Optional
loadingTxt?: string
Optional
maxFov?: number
Optional
minFov?: number
Optional
mousemove?: boolean
Optional
mousewheel?: boolean
Optional
mousewheelCtrlKey?: boolean
Optional
moveInertia?: boolean | number
Optional
moveSpeed?: number
Optional
navbar?: boolean | string | (string | NavbarCustomButton)[]
Optional
panorama?: any
Optional
requestHeaders?: Record<string, string> | (url: string) => Record<string, string>
Optional
size?: CssSize
Optional
touchmoveTwoFingers?: boolean
Optional
withCredentials?: boolean
Optional
zoomSpeed?: number
Viewer configuration