Dialog to confirm user action before proceeding.
<c-confirmation-dialog></c-confirmation-dialog>
let result = await this.template.querySelector('c-confirmation-dialog')
.confirm('Do you wish to proceed?');
if(result===true){
//proceed
}
Property Name | Type | Default Value |
---|---|---|
title | string | Confirm |
confirmLabel | string | Yes |
cancelLabel | string | No |