I am using Angular 6. I need to load different components on switch.
I tried with @ViewChild
but it's not working in this scenario.
Example: One listing component with some data(table) and there is one switch, on switch changed, I need to display different data (table)
Comments
Post a Comment