Questions tagged [angular2-ngcontent]
94 questions
3
votes
1 answer
Can Angular 4 have dynamic ng-content with dynamic select
Can angular 4 have dynamic ng-content. Can some provide a way to remove static slide1,slide2 so that it can be implemented by *ngFor
Content of child component:

Mantu Nigam
- 3,690
- 7
- 24
- 41
3
votes
1 answer
How to eliminate inner component when using ng-content
I'm trying to factor out popup menus so I can write this:
Edit input
Edit mappings
Show agent…

Isvara
- 3,403
- 1
- 28
- 42
3
votes
0 answers
Angular 2: How to add Projectable Nodes after component is dynamically created
I'm making a Tab View that can dynamically create tabs from a list of components. Also after those components have been added to the DOM I would like to be able to add them with a button.
Thanks to the help from the user, yurzui, I was able to …

Erik R
- 201
- 1
- 15
2
votes
0 answers
How to project content of component by some statement (e.g. by input value)
I'm working on the implementation custom table and faced with an issue.
I cannot correctly project column-component content inside table-component.
table.component.ts:
@Component({
selector: 'app-table',
template: `
...
…