docs(NgModule): Fixed docs for NgModule.entryComponents (#12006)
* docs(NgModule): Corrected the wording of the documentation of `entryComponents`, fixed some minor grammar issues * docs(NgModule): Remove redundant ComponentFactory mentions * docs(NgModule): Restore ComponentFactory/ComponentResolver links
This commit is contained in:
parent
a32078f85e
commit
1cf5f5fa38
|
@ -29,7 +29,7 @@ export interface SchemaMetadata { name: string; }
|
|||
|
||||
/**
|
||||
* Defines a schema that will allow:
|
||||
* - any non-angular elements with a `-` in their name,
|
||||
* - any non-Angular elements with a `-` in their name,
|
||||
* - any properties on elements with a `-` in their name which is the common rule for custom
|
||||
* elements.
|
||||
*
|
||||
|
@ -132,9 +132,9 @@ export interface NgModule {
|
|||
imports?: Array<Type<any>|ModuleWithProviders|any[]>;
|
||||
|
||||
/**
|
||||
* Specifies a list of directives/pipes/module that can be used within the template
|
||||
* of any component that is part of an angular module
|
||||
* that imports this angular module.
|
||||
* Specifies a list of directives/pipes/modules that can be used within the template
|
||||
* of any component that is part of an Angular module
|
||||
* that imports this Angular module.
|
||||
*
|
||||
* ### Example
|
||||
*
|
||||
|
@ -149,10 +149,9 @@ export interface NgModule {
|
|||
exports?: Array<Type<any>|any[]>;
|
||||
|
||||
/**
|
||||
* Defines the components that should be compiled as well when
|
||||
* this component is defined. For each components listed here,
|
||||
* Angular will create a {@link ComponentFactory ComponentFactory} and store it in the
|
||||
* {@link ComponentFactoryResolver ComponentFactoryResolver}.
|
||||
* Specifies a list of components that should be compiled when this module is defined.
|
||||
* For each component listed here, Angular will create a {@link ComponentFactory}
|
||||
* and store it in the {@link ComponentFactoryResolver}.
|
||||
*/
|
||||
entryComponents?: Array<Type<any>|any[]>;
|
||||
|
||||
|
@ -164,7 +163,7 @@ export interface NgModule {
|
|||
bootstrap?: Array<Type<any>|any[]>;
|
||||
|
||||
/**
|
||||
* Elements and properties that are not angular Components nor Directives have to be declared in
|
||||
* Elements and properties that are not Angular components nor directives have to be declared in
|
||||
* the schema.
|
||||
*
|
||||
* Available schemas:
|
||||
|
@ -186,7 +185,7 @@ export interface NgModule {
|
|||
}
|
||||
|
||||
/**
|
||||
* NgModule decorator and metadata
|
||||
* NgModule decorator and metadata.
|
||||
*
|
||||
* @stable
|
||||
* @Annotation
|
||||
|
|
Loading…
Reference in New Issue