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:
|
* 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
|
* - any properties on elements with a `-` in their name which is the common rule for custom
|
||||||
* elements.
|
* elements.
|
||||||
*
|
*
|
||||||
|
@ -132,9 +132,9 @@ export interface NgModule {
|
||||||
imports?: Array<Type<any>|ModuleWithProviders|any[]>;
|
imports?: Array<Type<any>|ModuleWithProviders|any[]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies a list of directives/pipes/module that can be used within the template
|
* Specifies a list of directives/pipes/modules that can be used within the template
|
||||||
* of any component that is part of an angular module
|
* of any component that is part of an Angular module
|
||||||
* that imports this angular module.
|
* that imports this Angular module.
|
||||||
*
|
*
|
||||||
* ### Example
|
* ### Example
|
||||||
*
|
*
|
||||||
|
@ -149,10 +149,9 @@ export interface NgModule {
|
||||||
exports?: Array<Type<any>|any[]>;
|
exports?: Array<Type<any>|any[]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the components that should be compiled as well when
|
* Specifies a list of components that should be compiled when this module is defined.
|
||||||
* this component is defined. For each components listed here,
|
* For each component listed here, Angular will create a {@link ComponentFactory}
|
||||||
* Angular will create a {@link ComponentFactory ComponentFactory} and store it in the
|
* and store it in the {@link ComponentFactoryResolver}.
|
||||||
* {@link ComponentFactoryResolver ComponentFactoryResolver}.
|
|
||||||
*/
|
*/
|
||||||
entryComponents?: Array<Type<any>|any[]>;
|
entryComponents?: Array<Type<any>|any[]>;
|
||||||
|
|
||||||
|
@ -164,7 +163,7 @@ export interface NgModule {
|
||||||
bootstrap?: Array<Type<any>|any[]>;
|
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.
|
* the schema.
|
||||||
*
|
*
|
||||||
* Available schemas:
|
* Available schemas:
|
||||||
|
@ -186,7 +185,7 @@ export interface NgModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NgModule decorator and metadata
|
* NgModule decorator and metadata.
|
||||||
*
|
*
|
||||||
* @stable
|
* @stable
|
||||||
* @Annotation
|
* @Annotation
|
||||||
|
|
Loading…
Reference in New Issue