Angular 2Directives & components : @Input @Output

Download Angular 2 for free

Syntax

  1. One way binding from parent component to nested component: [propertyName]
  2. One way binding from nested component to parent component: (propertyName)
  3. Two-way binding (a.k.a banana box notation) : [(propertyName)]

Related Examples

Angular2 @Input and @Output in a nested component