fix: QueryList documentation (#8976)

This commit is contained in:
Miško Hevery 2016-06-02 16:24:26 -07:00
parent 1090601e8b
commit b160ada5d1
1 changed files with 2 additions and 4 deletions

View File

@ -21,12 +21,10 @@ import {Observable, EventEmitter} from '../../src/facade/async';
* ```typescript
* @Component({...})
* class Container {
* constructor(@Query(Item) items: QueryList<Item>) {
* items.changes.subscribe(_ => console.log(items.length));
* }
* @ViewChildren(Item) items:QueryList<Item>;
* }
* ```
* @deprecated
* @stable
*/
export class QueryList<T> {
private _dirty = true;