Accessible name (aria-label) used only when Title is empty.
A set Title keeps aria-labelledby and does not also set aria-label.
Move focus into the dialog when it opens. Off when the dialog focuses itself.
Return focus to the element that was focused when the dialog opened.
ARIA role for the dialog container. Defaults to 'dialog'; pass
'alertdialog' for confirmation / destructive prompts that interrupt the
user (per WAI-ARIA, an alertdialog conveys an urgent message requiring a
response). Backward compatible — existing callers keep 'dialog'.
Keep focus in the dialog. The browser moves Tab between stops. Tab on the last stop wraps to the first, and Shift+Tab on the first stop or the container wraps to the last. A Tab from outside is brought in only when this dialog is the topmost visible one and it traps focus, and not while focus is already inside another modal or an overlay panel.
Use ResolvedHeight.
Use ResolvedWidth.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Wraps Tab at the ends of the dialog. A Tab that is already handled, including
by a dialog nested inside this one, is left alone. With no enabled control,
focus stays on the container (it is tabindex="-1", so it is not itself a tab stop).
mj-dialog — Modal dialog component using native
<dialog>element.Replaces
<kendo-dialog>.Supports both explicit width/height and size presets. Content is projected, with an optional
<mj-dialog-actions>for the footer.On open, focus moves to
[data-autofocus], else the first field in the body, else the first button in the body or actions (never the ✕), else the container. Tab between stops is left to the browser. Tab on the last stop wraps to the first, and Shift+Tab on the first stop or the container wraps to the last. A Tab that arrives from outside is taken only by the topmost visible dialog, and only when that dialog traps focus and focus is on the page behind it: not in another modal, and not in an overlay panel rendered on the body. A dropdown or calendar that hands focus back to its field is wrapped when that field is the first or last stop, because the key started in the overlay. Focus returns to the trigger on close.AutoFocus,TrapFocus, andRestoreFocuseach default on so a dialog that manages focus itself can turn that one behavior off.Example