How to Create Notifications Alerts in Lightning Web Component Using New Lightning Modules
In this Blog, you will learn how you can create notifications alerts in Lightning Web Component Using New Lightning Modules!
Watch the difference between Old Native API Popup Alert vs the New Lightning Popup Alert.
Old Native API Module (Deprecated)
1. window.alert()
2. window.confirm()
3. window.prompt()
New Lightning Module
1. LightningAlert.Open()
2. LightningAlert.Confirm()
3. LightningAlert.Prompt()
Follow Us