From c5af3f861753af75cb6b161ad5e714d4a620caa6 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Fri, 30 Nov 2018 12:10:32 -0800 Subject: [PATCH] docs: add api doc to template_ref (#28344) PR Close #28344 --- packages/core/src/linker/template_ref.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/core/src/linker/template_ref.ts b/packages/core/src/linker/template_ref.ts index 82d116750f..17e4a5f721 100644 --- a/packages/core/src/linker/template_ref.ts +++ b/packages/core/src/linker/template_ref.ts @@ -47,9 +47,11 @@ export abstract class TemplateRef { abstract get elementRef(): ElementRef; /** - * Creates a view object and attaches it to the view container of the parent view. - * @param context The context for the new view, inherited from the anchor element. - * @returns The new view object. + * Instantiates an embedded view based on this template, + * and attaches it to the view container. + * @param context The data-binding context of the embedded view, as declared + * in the `` usage. + * @returns The new embedded view object. */ abstract createEmbeddedView(context: C): EmbeddedViewRef;