destroyCaption function exported

Last updated: 2026-03-05T10:53:28.860Z

Metrics

LOC: 3 Complexity: 1 Params: 0

Signature

destroyCaption(): : void

Summary

Immediately removes the caption overlay (for cleanup).

Source Code

export function destroyCaption(): void {
  document.getElementById(CAPTION_ID)?.remove();
}

No outgoing dependencies.

No incoming dependencies.