Templating allows customizing the content where the message instance is available as the implicit variable.
+
+<ConfirmPopup group="demo">
+ <template #message="slotProps">
+ <div class="flex p-4">
+ <i :class="slotProps.message.icon" style="font-size: 1.5rem"></i>
+ <p class="pl-2">{{slotProps.message.message}}</p>
+ </div>
+ </template>
+</ConfirmPopup>
+
+
Name | +Parameters | +
---|---|
message | +- | +
ConfirmDialog inherits all the classes from the Dialog component, visit