What is LightningAlert in LWC

|
| By Sonali Sharma

LightningAlert is a new feature that comes in the summer 22 release. Chrome and Safari decided not to support window.alert so salesforce provides an inbuilt feature called LightningAlert. To use this feature first, we need to import LightningAlert.

Example:

LightningAlert
db-code2
db-code3

Leave a Reply

Your email address will not be published. Required fields are marked *