You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for this wonderful free template! just a quick question, I want to open a dialog first then after the user confirmation then proceed to go to an external URL how should I approach this?
The text was updated successfully, but these errors were encountered:
then for src/app/layout/default-layout/default-layout.component.ts
// simplified for brevity, not tested code
...
readonly #document =inject(DOCUMENT);readonly #eventManager =inject(EventManager);ngAfterViewInit(): void{constid='link-with-id'constlinkWithId=this.#document.getElementById(id);if(linkWithId){this.#eventManager.addEventListener(linkWithId,'click',($event: MouseEvent)=>{// your handler here});}}
An alternative approach involves creating a dedicated route with component for external URL navigation, protected by route guards, and a service for handling dialogues.
Hi! Thanks for the fast response! I found out that modals are bundled for free too! 🔥
I'm really having a hard time with integrating material design so I think I'm gonna stick with the the coreUI's modal.
any pointers will be appreciated 💓
Hi! Thanks for this wonderful free template! just a quick question, I want to open a dialog first then after the user confirmation then proceed to go to an external URL how should I approach this?
The text was updated successfully, but these errors were encountered: