Hello
Is it possible to show @inputs of a child compoenent in parent usage base on a specific value?
For example:
I have
@input() type: string;
@input({ required: true }) placeholder: string;
@input() isVisible: boolean;
In child component
So Is it possible to allow child to use [placeholder] in app-child only if [type] is specific value?
Examlpe
<app-child [type]="'textbox'" [placeholder]="''" />
// it works without error because place holder is shows in attributes for type==='textbox'
<app-child [type]="'hidden'" />
// it works without error because place holder is not a attribute for tag type==='hidden'