Skip to content

Instantly share code, notes, and snippets.

@squadwuschel

squadwuschel/child.ts

Last active May 15, 2017
Embed
What would you like to do?
[(name)] two-way-databinding
//Dekorator Definition
@Input() name : string;
@Output() nameChange = new EventEmitter<string>();
//Aufruf
<my-child [(name)]="firstname"></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.