From c366d1c8a0c8bd2c31c8cf440033bb9048e9a787 Mon Sep 17 00:00:00 2001 From: Kirk Larkin Date: Tue, 17 Aug 2021 20:29:47 +0100 Subject: [PATCH] docs: tidy up description of NgComponentOutlet (#43159) PR Close #43159 --- packages/common/src/directives/ng_component_outlet.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/common/src/directives/ng_component_outlet.ts b/packages/common/src/directives/ng_component_outlet.ts index 26eb178c2b3..05615282261 100644 --- a/packages/common/src/directives/ng_component_outlet.ts +++ b/packages/common/src/directives/ng_component_outlet.ts @@ -10,11 +10,11 @@ import {ComponentFactoryResolver, ComponentRef, Directive, Injector, Input, NgMo /** - * Instantiates a single {@link Component} type and inserts its Host View into current View. + * Instantiates a {@link Component} type and inserts its Host View into the current View. * `NgComponentOutlet` provides a declarative approach for dynamic component creation. * * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and - * any existing component will get destroyed. + * any existing component will be destroyed. * * @usageNotes * @@ -26,10 +26,10 @@ import {ComponentFactoryResolver, ComponentRef, Directive, Injector, Input, NgMo * the Component. Defaults to the injector of the current view container. * * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content - * section of the component, if exists. + * section of the component, if it exists. * - * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow dynamically loading other - * module, then load a component from that module. + * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow loading another + * module dynamically, then loading a component from that module. * * ### Syntax *