Skip to main content

removeExitFullscreenOverlay

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/ui/controls/removeExitFullscreenOverlay / removeExitFullscreenOverlay

Function: removeExitFullscreenOverlay()

removeExitFullscreenOverlay(container: HTMLElement): void

Defined in: utils/ui/controls/removeExitFullscreenOverlay.js:38

Removes the exit fullscreen overlay button from the specified container

Uses caching for improved performance and supports both modern and legacy removal methods. Automatically cleans up cache entries when overlays are removed.

Parameters​

container​

HTMLElement

The DOM element from which to remove the overlay button

Returns​

void

Example​

// Remove exit fullscreen overlay from a chart container
removeExitFullscreenOverlay(document.getElementById("chart-container"));

Throws​

If container is not a valid DOM element