Thursday, March 23, 2017

A constructor variable at an Angular 2 component not decorated with public or private cannot be seen beyond the constructor.

The ref variable here is an example, not the zone variable.

constructor(ref: ChangeDetectorRef, private zone: NgZone) {

No comments:

Post a Comment