MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / getPresentedOverlays

Function getPresentedOverlays

core/src/utils/overlays.ts:459–461  ·  view source on GitHub ↗
(doc: Document, overlayTag?: string)

Source from the content-addressed store, hash-verified

457 * @param overlayTag The selector for the overlay, defaults to Ionic overlay components.
458 */
459const getPresentedOverlays = (doc: Document, overlayTag?: string): HTMLIonOverlayElement[] => {
460 return getOverlays(doc, overlayTag).filter((o) => !isOverlayHidden(o));
461};
462
463/**
464 * Returns a presented overlay element.

Callers 2

getPresentedOverlayFunction · 0.85
dismissFunction · 0.85

Calls 2

getOverlaysFunction · 0.85
isOverlayHiddenFunction · 0.85

Tested by

no test coverage detected