I want to pass some properties from a parent component to a child component using content projection, is that possible?
For e.g. this is my template:
<my-form [display]="'horiz'">
Email: <my-input [type]="'email'" ...></my-input>
Name: <my-input [type]="'name'" [display]="'vert'" ...></my-input>
...
</my-form>
Now the my-form component has the template like this:
<form ...>
<ng-content></ng-content>
</form>
What I want is that the display property of my-form can be accessed by the my-input components, such that it can be overriden by the my-input component as well, like it is for the Name input.
Is that possible?