Skip to content

AlertDialogContent ​

Overview ​

The content panel of an AlertDialog, rendered in a portal with an overlay.

Theme entry: AlertDialogContent

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
trapFocusbooleanundefinedWhether to trap focus inside the content.
forceMountbooleanundefinedWhether to force mount the content.

Slots ​

default ​

Slot.

Events ​

NameDescription
openAutoFocusEmitted when focus moves inside the content after it opens.
closeAutoFocusEmitted when focus returns to the trigger after the content closes.
escapeKeyDownEmitted when the Escape key is pressed.

Full event reference

Source ​

client/lib/shell/alert-dialog/AlertDialogContent.vue