Construction-time options for a {@link CngxOverlayRef}
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#
Properties
Instance Properties#
ReadonlyOptional
When true, neither Escape nor a backdrop click closes the overlay - the
only way out is a programmatic close(). Default false.
restoreFocusTo#
HTMLElement | nullReadonlyOptional
Element focus returns to when the overlay closes - captured at open time,
before the overlay steals focus. null skips restoration.