Model with Close icon Inside slds model with corss icon inside Post author:Swapnil Jaiswal Post published:June 27, 2024 Post category:Blog / Salesforce Post comments:0 Comments Find the code here to create LWC model with cross icon inside it. HTML File I agree to the terms and conditions I agree to the terms and conditions as set out by the user agreement. JS File import { LightningElement, track } from 'lwc'; export default class ModelWithCross extends LightningElement { @track showPopup = false; openLightningModel() { this.showPopup = true; } closeLightningModel() { this.showPopup = false; } saveAndClose() { this.showPopup = false; } } In this video we have demonstrated and explain the code. You Might Also Like Dynamically set value to lightning-combobox, lightning-input | 2 ways July 20, 2024 REI Systems Salesforce Developer Interview Questions December 17, 2024 Way’s to load image from static resources to VF page May 3, 2022 Apex Basics Quiz – Test Your Salesforce Apex Knowledge September 3, 2026 Auto Masked / Format Phone number as per given country phone format | JavaScript | LWC | Validate Phone Number. March 5, 2022 Insert Bulk Accounts and 5 Contacts to Each Account January 5, 2025 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.
Auto Masked / Format Phone number as per given country phone format | JavaScript | LWC | Validate Phone Number. March 5, 2022