Skip to content

Commit

Permalink
fix: QueryList documentation (#8976)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Jun 2, 2016
1 parent 1090601 commit b160ada
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/@angular/core/src/linker/query_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b160ada

Please sign in to comment.