Skip to main content
cngx-src documentation

CngxOverlayRefConfig

Interface

projects/ui/overlay/overlay-ref.ts

Referenced by#

Import#

import { CngxOverlayRefConfig } from '@cngx/ui/overlay'

Description#

Construction-time options for a CngxOverlayRef. Set by CngxOverlay.open, not by consumers.

Index#

Instance Properties#

disableClose#boolean
ReadonlyOptional

When true, neither Escape nor a backdrop click closes the overlay - the only way out is a programmatic close(). Default false.

restoreFocusTo#HTMLElement | null
ReadonlyOptional

Element focus returns to when the overlay closes - captured at open time, before the overlay steals focus. null skips restoration.