This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Component input property - setter - more explicit information needed #2881
Closed
Description
I was having problem with Angular not recognizing the bound @Input
property. It showed up that the error was only caused by the annotated setter occuring later in the code, than the unannotated getter.
I suggest making this requirement more explicit in https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#parent-to-child-setter because this way it IMHO suggests, that annotating the setter is what's important here, not that the annotated method (getter or setter) must occur first, before the unannotated one.
Metadata
Metadata
Assignees
Labels
No labels