Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surajp/lwc-confirmation-dialog
Confirmation dialog for LWCs
https://github.com/surajp/lwc-confirmation-dialog
confirmation-dialog lightning-web-components lwc salesforce
Last synced: 3 months ago
JSON representation
Confirmation dialog for LWCs
- Host: GitHub
- URL: https://github.com/surajp/lwc-confirmation-dialog
- Owner: surajp
- Created: 2020-08-16T02:04:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T03:22:00.000Z (over 2 years ago)
- Last Synced: 2024-08-02T12:21:30.291Z (7 months ago)
- Topics: confirmation-dialog, lightning-web-components, lwc, salesforce
- Language: JavaScript
- Homepage:
- Size: 198 KB
- Stars: 5
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-lwc - Confirmation Dialog
README
# LWC Confirmation Dialog
Dialog to confirm user action before proceeding.
## Usage
```html
```
```js
let result = await this.template.querySelector('c-confirmation-dialog')
.confirm('Do you wish to proceed?');
if(result===true){
//proceed
}
```## Properties
| Property Name | Type | Default Value |
| ------------- | ------ | ------------- |
| title | string | Confirm |
| confirmLabel | string | Yes |
| cancelLabel | string | No |