Im trying to create a common Dialog Component which can be open from any component.I want to implement IgxDialog like mAtDialog is used with MatDialogRef where the component is passed and can be opened via a service.I couldnt find the exact instruction to implement the same with IgxDialog.
Hello Kaushik,
Thank you for contacting Infragistics Community!
In order to render dynamically a common component I suggest one of the following approaches:
Please take your time to investigate both samples and let me know if you have any further questions.
Best Regards, Martin Evtimov Associate Software Developer Infragistics, Inc.
Hi, am getting error on both the samples. can you share the latest one which works ?
Along with this how do we pass data to/from common component ?
Hello Peru,
I noticed that there is an additional forum thread regarding the same query. Please, keep in mind that according to our support policy we handle single thread per issues. This helps us ensure that all issues are addressed and handled correctly.
Please take a look at this forum thread where an answer has been already provided.PS. What I can suggest in order to run the above attached samples is to download them locally and to execute the following commands:
npm install
ng server
In the below attached screenshot you can see how to download the project:
Best Regards, Martin Evtimov Software Developer Infragistics, Inc.