@ -12,11 +12,11 @@ import {EmbeddedViewRef} from './view_ref';
|
||||
|
||||
/**
|
||||
* Represents an embedded template that can be used to instantiate embedded views.
|
||||
* To instantiate embedded views based on a template, use {@link ViewContainerRef#
|
||||
* createEmbeddedView}.
|
||||
* To instantiate embedded views based on a template, use the `ViewContainerRef`
|
||||
* method `createEmbeddedView()`.
|
||||
*
|
||||
* Access a `TemplateRef` instance by placing a directive (or directive prefixed with `*`)
|
||||
* on an `<ng-template>` element. The `TemplateRef` for the embedded view
|
||||
* Access a `TemplateRef` instance by placing a directive on an `<ng-template>`
|
||||
* element (or directive prefixed with `*`). The `TemplateRef` for the embedded view
|
||||
* is injected into the constructor of the directive,
|
||||
* using the `TemplateRef` token.
|
||||
*
|
||||
|
Reference in New Issue
Block a user