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