I cannot open calcite-alert again after closing it by re-setting open = true.
How to re-use calcite-alert?
Solved! Go to Solution.
@ForrestLin Can you share a Codepen with the behavior mentioned? Here's an example of toggling an Alert with a Button click event, which shows how to toggle the Alert's "open" attribute.
Hi Kitty, Thanks for your help. The issue is fixed by calling toggleAttribute("open") in Angular.
Here is my Alert Angular Component:
@ForrestLin Can you share a Codepen with the behavior mentioned? Here's an example of toggling an Alert with a Button click event, which shows how to toggle the Alert's "open" attribute.
Hi Kitty, Thanks for your help. The issue is fixed by calling toggleAttribute("open") in Angular.
Here is my Alert Angular Component: