docs(changelog): fix ViewQuery read usage example in beta.16 (#8330)

This commit is contained in:
Jerome Velociter 2016-05-20 19:06:46 +02:00 committed by Miško Hevery
parent d75f928fca
commit 0fad9c2786
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ as a served file in your Karma or other test configuration.
should be used, create one before calling this method. should be used, create one before calling this method.
(e.g. via `ReflectiveInjector.resolveAndCreate(…)`. (e.g. via `ReflectiveInjector.resolveAndCreate(…)`.
* - `DynamicComponentLoader.loadIntoLocation` has been removed. Use `@ViewChild(myVar, read: ViewContainerRef)` to get hold of a `ViewContainerRef` at an element with variable `myVar`. Then call `DynamicComponentLoader.loadNextToLocation`. * - `DynamicComponentLoader.loadIntoLocation` has been removed. Use `@ViewChild(myVar, {read: ViewContainerRef})` to get hold of a `ViewContainerRef` at an element with variable `myVar`. Then call `DynamicComponentLoader.loadNextToLocation`.
- `DynamicComponentLoader.loadNextToLocation` now takes a `ViewContainerRef` instead of an `ElementRef`. - `DynamicComponentLoader.loadNextToLocation` now takes a `ViewContainerRef` instead of an `ElementRef`.
- `AppViewManager` is renamed into `ViewUtils` and is a mere private utility service. - `AppViewManager` is renamed into `ViewUtils` and is a mere private utility service.