-
-
Save NetanelBasal/8455790f7b16f6be90069d4abc28d8fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Input() set name(name: string) { | |
this._name = name; | |
this.cdr.detectChanges(); | |
} | |
get name() { | |
return this._name; | |
} | |
constructor(private cdr: ChangeDetectorRef) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment