Open dialog from different component #11787
Unanswered
erperejildo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm not sure what you are trying to do, opening Taiga UI dialogs from templates where "Angular is not even loaded" is definitely impossible. If you want to show dialogs without service, from templates, you can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know this could be done by using a simple service, but I have some templates from which Angular is not even loaded. Right now, to show a modal/dialog I use the Bootstrap way:
And from a different component:
Checking the dialog examples from this lib, all are shown calling
dialogs.open
:https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.template.html
Would be this way possible?
Beta Was this translation helpful? Give feedback.
All reactions