TX Text Control .NET Server

Javascript: DocumentViewerController.toggleFullScreen Method

Method|Introduced in 24.0

Description

Toggles browser fullscreen, or toggles window docking when fullscreen is unavailable.

Syntax

<void> DocumentViewerController.toggleFullScreen()

Return Value

This method does not return a value.

Examples

The following example demonstrates TXDocumentViewer.toggleFullScreen in a practical Document Viewer workflow. Toggles between the browser full screen mode and the normal docked mode of the DocumentViewer.

TXDocumentViewer.toggleFullScreen();
console.log("toggle full screen requested.");