AlertDialog API
API reference for the AlertDialog components.
string | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
string | undefinedUnique identifier for the alert dialog (auto-generated if not provided)
boolean | undefined Default: false
string | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
boolean | undefinedWhether the action button is disabled
Default: false
[event: AlertDialogActionEvent]AlertDialogActionSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
AlertDialogActivatorSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
boolean | undefinedWhether the cancel button is disabled
Default: false
AlertDialogCancelSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
AlertDialogCloseSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
boolean | undefinedClose dialog when clicking outside content
Default: false
boolean | undefinedClose dialog when pressing Escape
Default: false
boolean | undefinedWhether this dialog blocks scrim dismissal
Default: false
AlertDialogContentSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
AlertDialogDescriptionSlotPropsstring | undefinedNamespace for dependency injection
Default: "v0:alert-dialog"
AlertDialogTitleSlotProps