Type Alias DeactivateElementInModalLayerFn
DeactivateElementInModalLayerFn: (
targetModalLayerId: string,
targetElementId: string,
) => void
Type Declaration
-
- (targetModalLayerId: string, targetElementId: string): void
-
Parameters
- targetModalLayerId: string
- targetElementId: string
Returns void
Modal-layer counterpart of DeactivateElementFn. Marks a modal-layer element as inactive (
active: false); the element stays mounted and only its keyboard bindings go dormant, with registration data retained for reactivation via ActivateElementInModalLayerFn. Note that the modal layer's keyboard takeover persists even with no active elements — the barrier only lifts when the modal layer itself is closed.