Skip to main content

Function: removeExitFullscreenOverlay()

function 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.