parent
94e305f48e
commit
e0fbe8611e
|
@ -47,9 +47,11 @@ export abstract class TemplateRef<C> {
|
||||||
abstract get elementRef(): ElementRef;
|
abstract get elementRef(): ElementRef;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a view object and attaches it to the view container of the parent view.
|
* Instantiates an embedded view based on this template,
|
||||||
* @param context The context for the new view, inherited from the anchor element.
|
* and attaches it to the view container.
|
||||||
* @returns The new view object.
|
* @param context The data-binding context of the embedded view, as declared
|
||||||
|
* in the `<ng-template>` usage.
|
||||||
|
* @returns The new embedded view object.
|
||||||
*/
|
*/
|
||||||
abstract createEmbeddedView(context: C): EmbeddedViewRef<C>;
|
abstract createEmbeddedView(context: C): EmbeddedViewRef<C>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue