
committed by
Matias Niemelä

parent
6fbc2b3be0
commit
901436e46f
@ -18,9 +18,8 @@ import {EmbeddedViewRef} from './view_ref';
|
||||
* the constructor of the directive using the `TemplateRef` Token. Alternatively you can query for
|
||||
* the `TemplateRef` from a Component or a Directive via {@link Query}.
|
||||
*
|
||||
* To instantiate Embedded Views based on a Template, use
|
||||
* {@link ViewContainerRef#createEmbeddedView}, which will create the View and attach it to the
|
||||
* View Container.
|
||||
* To instantiate Embedded Views based on a Template, use {@link ViewContainerRef#
|
||||
* createEmbeddedView}, which will create the View and attach it to the View Container.
|
||||
* @stable
|
||||
*/
|
||||
export abstract class TemplateRef<C> {
|
||||
|
@ -73,8 +73,8 @@ export abstract class ViewContainerRef {
|
||||
* Instantiates a single {@link Component} and inserts its Host View into this container at the
|
||||
* specified `index`.
|
||||
*
|
||||
* The component is instantiated using its {@link ComponentFactory} which can be
|
||||
* obtained via {@link ComponentFactoryResolver#resolveComponentFactory}.
|
||||
* The component is instantiated using its {@link ComponentFactory} which can be obtained via
|
||||
* {@link ComponentFactoryResolver#resolveComponentFactory resolveComponentFactory}.
|
||||
*
|
||||
* If `index` is not specified, the new View will be inserted as the last View in the container.
|
||||
*
|
||||
|
Reference in New Issue
Block a user