docs(core): add context jsdoc param to createEmbeddedView (#42675)

PR Close #42675
This commit is contained in:
Dario Piotrowicz 2021-06-27 16:34:32 +01:00 committed by Jessica Janiuk
parent 2a260dc249
commit 4bea630baa
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ export abstract class ViewContainerRef {
* Instantiates an embedded view and inserts it * Instantiates an embedded view and inserts it
* into this container. * into this container.
* @param templateRef The HTML template that defines the view. * @param templateRef The HTML template that defines the view.
* @param context The data-binding context of the embedded view, as declared
* in the `<ng-template>` usage.
* @param index The 0-based index at which to insert the new view into this container. * @param index The 0-based index at which to insert the new view into this container.
* If not specified, appends the new view as the last entry. * If not specified, appends the new view as the last entry.
* *