Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
two-way-databinding Angular
//Dekorator Definition
@Input() age : string;
@Output() ageChanged = new EventEmitter<string>();
//Aufruf
<my-child [age]="alter" (ageChanged)="alter = $event"></my-child>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.