From e0fbe8611e9e6e4a6b6f1d24fbf4719c0d0490a9 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 (#27380) PR Close #27380 --- 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 d4a56e7bd1..d30cec3e90 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;