Class FullScreenPlugin

Full Screen Plugin

A simple plugin that provides functions to enter, exit, toggle full screen mode and check if the viewer is in full screen mode with isFullScreen.

Implementation from: https://stackoverflow.com/questions/50568474/how-to-enter-fullscreen-in-three-js

@todo: try out some lib like https://github.com/sindresorhus/screenfull for proper cross browser support

Hierarchy (View Summary)

Constructors

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
toJSON: any = undefined
uiConfig?: UiObjectConfig = undefined
OldPluginType?: string
PluginType: "FullScreenPlugin" = 'FullScreenPlugin'

Accessors

Methods