Skip to main content

removeExitFullscreenOverlay

FitFileViewer - API Documentation v30.0.1


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

Function: removeExitFullscreenOverlay()

removeExitFullscreenOverlay(container: HTMLElement | null | undefined): void

Defined in: utils/ui/controls/removeExitFullscreenOverlay.ts:32

Removes the exit fullscreen overlay button from the specified container.

Uses caching for improved performance and automatically cleans up cache entries when overlays are removed.

Parameters​

container​

HTMLElement | null | undefined

Returns​

void

Example​

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

Throws​

TypeError If container is not a valid DOM element.