You need to sign in to do that
Don't have an account?
Pop up modal want to close auto in LWC
i have opened two pop up modal with the help of LWC components and want to close automatically first modal pop up .Can you any one help of this scenario.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Can you elaborate more on the ask? Can you post your code here?
Thanks.
Pop up Modal can be opened and closed according to a variable value set in js file of lwc component. You can set the value of showModal variable in Js file of lwc component as true or false according to your functionality. In this case scenario, set the value of variable for first pop up modal to false while setting the value of variable used in second modal pop up to true as shown in below figure.
Please mark it as best answer if it helps.
Thanks.