i want to show/hide the password text based on the user click. But i am getting the following error saying:
export class App { password = \"secret\"
You need to use ViewChild() instead of ContentChild()
ViewChild()
ContentChild()
@ViewChild(ShowHideInput) input: ShowHideInput;
check your plunk
ContentChild() is for matching inside the transcluded content. e.g. contents inside