Skip to main content
cngx-src documentation

PanelLifecycleEmitterOptions

Interface

projects/forms/select/shared/panel-lifecycle-emitter.ts

Import#

import { PanelLifecycleEmitterOptions } from '@cngx/forms/select'

Description#

Index#

Instance Properties#

closed#OutputEmitterRef
Readonly
opened#OutputEmitterRef
Readonly
openedChange#OutputEmitterRef
Readonly
panelOpen#Signal
Readonly
restoreFocus#boolean
Readonly

Captured once.

restoreFocusTarget#Signal
Readonly

Re-focused after close. Dereferenced lazily on each transition.

restoringFocus#function
ReadonlyOptional

Called synchronously around the post-close focus restore with true before and false after the programmatic .focus(). Hosts honoring openOn: 'focus' use the window to suppress their focus-opens-panel strategy - otherwise the restore would reopen the panel that just closed. Optional; custom factories may ignore it when they implement their own restore strategy.