Open trotyl opened 5 years ago
All children are projected to default slot.
<p>Start</p> <ng-content select="p"></ng-content> <p>Middle</p> <ng-content select="div"></ng-content> <p>End</p>
Can be used with:
function render() { return ( <MyComp> <p>Foo</p> <p ngProjectAs="div">Bar</p> </MyComp> ) }
Note:
Current
All children are projected to default slot.
Expected
Can be used with:
Note: