Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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 |