feat(common): mark NgTemplateOutlet API as stable
This commit is contained in:
parent
64b4be9670
commit
0a73e8d062
|
@ -30,7 +30,7 @@ import {Directive, EmbeddedViewRef, Input, OnChanges, SimpleChange, SimpleChange
|
||||||
*
|
*
|
||||||
* {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}
|
* {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Directive({selector: '[ngTemplateOutlet]'})
|
@Directive({selector: '[ngTemplateOutlet]'})
|
||||||
export class NgTemplateOutlet implements OnChanges {
|
export class NgTemplateOutlet implements OnChanges {
|
||||||
|
@ -72,7 +72,7 @@ export class NgTemplateOutlet implements OnChanges {
|
||||||
* - templateRef has changed
|
* - templateRef has changed
|
||||||
* - context has changes
|
* - context has changes
|
||||||
*
|
*
|
||||||
* To mark context object as changed when the corresponding object
|
* We mark context object as changed when the corresponding object
|
||||||
* shape changes (new properties are added or existing properties are removed).
|
* shape changes (new properties are added or existing properties are removed).
|
||||||
* In other words we consider context with the same properties as "the same" even
|
* In other words we consider context with the same properties as "the same" even
|
||||||
* if object reference changes (see https://github.com/angular/angular/issues/13407).
|
* if object reference changes (see https://github.com/angular/angular/issues/13407).
|
||||||
|
|
|
@ -240,7 +240,7 @@ export declare class NgSwitchDefault {
|
||||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class NgTemplateOutlet implements OnChanges {
|
export declare class NgTemplateOutlet implements OnChanges {
|
||||||
/** @deprecated */ ngOutletContext: Object;
|
/** @deprecated */ ngOutletContext: Object;
|
||||||
ngTemplateOutlet: TemplateRef<any>;
|
ngTemplateOutlet: TemplateRef<any>;
|
||||||
|
|
Loading…
Reference in New Issue