docs(common): mark all common apis except for i18n as stable
This commit is contained in:
parent
6335b31702
commit
8a2324f86a
|
@ -17,7 +17,7 @@ import {COMMON_PIPES} from './pipes/common_pipes';
|
|||
/**
|
||||
* The module that includes all the basic Angular directives like {@link NgIf}, ${link NgFor}, ...
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@NgModule({
|
||||
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
||||
|
|
|
@ -76,7 +76,7 @@ export class SwitchView {
|
|||
* }
|
||||
* ```
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Directive({selector: '[ngSwitch]'})
|
||||
export class NgSwitch {
|
||||
|
@ -177,7 +177,7 @@ export class NgSwitch {
|
|||
*
|
||||
* See {@link NgSwitch} for more details and example.
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Directive({selector: '[ngSwitchCase]'})
|
||||
export class NgSwitchCase {
|
||||
|
@ -208,7 +208,7 @@ export class NgSwitchCase {
|
|||
*
|
||||
* See {@link NgSwitch} for more details and example.
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Directive({selector: '[ngSwitchDefault]'})
|
||||
export class NgSwitchDefault {
|
||||
|
|
|
@ -80,7 +80,7 @@ var defaultLocale: string = 'en-US';
|
|||
*
|
||||
* {@example core/pipes/ts/date_pipe/date_pipe_example.ts region='DatePipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'date', pure: true})
|
||||
export class DatePipe implements PipeTransform {
|
||||
|
|
|
@ -18,7 +18,7 @@ import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
|||
*
|
||||
* {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'lowercase'})
|
||||
export class LowerCasePipe implements PipeTransform {
|
||||
|
|
|
@ -86,7 +86,7 @@ function formatNumber(
|
|||
*
|
||||
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='NumberPipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'number'})
|
||||
export class DecimalPipe implements PipeTransform {
|
||||
|
@ -112,7 +112,7 @@ export class DecimalPipe implements PipeTransform {
|
|||
*
|
||||
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='PercentPipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'percent'})
|
||||
export class PercentPipe implements PipeTransform {
|
||||
|
@ -143,7 +143,7 @@ export class PercentPipe implements PipeTransform {
|
|||
*
|
||||
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='CurrencyPipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'currency'})
|
||||
export class CurrencyPipe implements PipeTransform {
|
||||
|
|
|
@ -17,7 +17,7 @@ import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
|||
*
|
||||
* {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}
|
||||
*
|
||||
* @experimental
|
||||
* @stable
|
||||
*/
|
||||
@Pipe({name: 'uppercase'})
|
||||
export class UpperCasePipe implements PipeTransform {
|
||||
|
|
|
@ -8,21 +8,21 @@ export declare class AsyncPipe implements OnDestroy {
|
|||
transform(obj: Observable<any> | Promise<any> | EventEmitter<any>): any;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class CommonModule {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class CurrencyPipe implements PipeTransform {
|
||||
transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class DatePipe implements PipeTransform {
|
||||
transform(value: any, pattern?: string): string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class DecimalPipe implements PipeTransform {
|
||||
transform(value: any, digits?: string): string;
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ export declare abstract class LocationStrategy {
|
|||
abstract replaceState(state: any, title: string, url: string, queryParams: string): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class LowerCasePipe implements PipeTransform {
|
||||
transform(value: string): string;
|
||||
}
|
||||
|
@ -147,18 +147,18 @@ export declare class NgStyle implements DoCheck {
|
|||
ngDoCheck(): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class NgSwitch {
|
||||
ngSwitch: any;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class NgSwitchCase {
|
||||
ngSwitchCase: any;
|
||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class NgSwitchDefault {
|
||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, sswitch: NgSwitch);
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ export declare class PathLocationStrategy extends LocationStrategy {
|
|||
replaceState(state: any, title: string, url: string, queryParams: string): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class PercentPipe implements PipeTransform {
|
||||
transform(value: any, digits?: string): string;
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ export declare class SlicePipe implements PipeTransform {
|
|||
transform(value: any, start: number, end?: number): any;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class UpperCasePipe implements PipeTransform {
|
||||
transform(value: string): string;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue