From 9bec0e1ee38fab7a6388382641430013b67792d6 Mon Sep 17 00:00:00 2001
From: Cagatay Civici
- When require method of the $confirm instance is used and a trigger is passed as a parameter, ConfirmDialog adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the + When require method of the $confirm instance is used and a trigger is passed as a parameter, ConfirmPopup adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the trigger and the dialog is defined.
ConfirmDialog is displayed by calling the require method of the $confirm instance by passing the options to customize the Popup. target attribute is mandatory to align the popup to its caller.
+ConfirmPopup is displayed by calling the require method of the $confirm instance by passing the options to customize the Popup. The target attribute is mandatory to align the popup to its referrer.
$confirm is available as a property in the application instance for Options API. The service can be injected with the useConfirm function for Composition API.
+The service is available with the useConfirm function for Composition API or using the $confirm property of the application for Options API.
Headless mode is enabled by defining a container slot that lets you implement entire confirmation UI instead of the default elements.
+Templating allows customizing the content where the message instance is available as the implicit variable.
+Templating allows customizing the message content.
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}