File

projects/ui-kit-lib/src/lib/v2/modals/dialog-content-directives.ts

Description

Base class for directives that represent structural sections within a dialog (e.g., title area, actions area). It:

  • Resolves the dialog ref by injection or DOM traversal.
  • Calls _onAdd() when attached to the DOM (after microtask) so the container can update ARIA attributes or layout counts.
  • Calls _onRemove() when destroyed so the container can revert those changes.

Implements

OnInit OnDestroy

Index

Properties
Methods

Constructor

constructor()

Methods

Protected Abstract _onAdd
_onAdd()

Hook for subclasses to add themselves to the container (e.g., ARIA wiring, layout counters).

Returns : void
Protected Abstract _onRemove
_onRemove()

Hook for subclasses to remove themselves from the container.

Returns : void

Properties

Protected _dialogRef
Type : unknown
Default value : inject<MefDevDialogRef<any>>(MefDevDialogRef, {optional: true})!

Reference to the owning dialog (if any).

results matching ""

    No results matching ""