dart-archive / angular.dart

Legacy source repository. See github.com/dart-lang/angular
https://webdev.dartlang.org/angular/
1.25k stars 248 forks source link

Update documentation for Query.read to include an example #1767

Open leiboldm opened 7 years ago

leiboldm commented 7 years ago

https://webdev.dartlang.org/angular/api/angular2.core/Query/read

The existing documentation isn't easy to understand unless you already know what this property does.

Similarly, the documentation for ViewChild doesn't even attempt to explain what "read" is: https://webdev.dartlang.org/angular/api/angular2.core/ViewChild/ViewChild

zoechi commented 7 years ago

https://github.com/dart-lang/angular2 would be the correct repo, this is for Dart Angular 1 http://stackoverflow.com/a/35209681/217408 contains some explanation about read

leiboldm commented 7 years ago

Woops, sorry. I was under the impression that Angular2 had rebranded itself to just Angular. My bad.