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}, ...
|
* The module that includes all the basic Angular directives like {@link NgIf}, ${link NgFor}, ...
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
||||||
|
|
|
@ -76,7 +76,7 @@ export class SwitchView {
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Directive({selector: '[ngSwitch]'})
|
@Directive({selector: '[ngSwitch]'})
|
||||||
export class NgSwitch {
|
export class NgSwitch {
|
||||||
|
@ -177,7 +177,7 @@ export class NgSwitch {
|
||||||
*
|
*
|
||||||
* See {@link NgSwitch} for more details and example.
|
* See {@link NgSwitch} for more details and example.
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Directive({selector: '[ngSwitchCase]'})
|
@Directive({selector: '[ngSwitchCase]'})
|
||||||
export class NgSwitchCase {
|
export class NgSwitchCase {
|
||||||
|
@ -208,7 +208,7 @@ export class NgSwitchCase {
|
||||||
*
|
*
|
||||||
* See {@link NgSwitch} for more details and example.
|
* See {@link NgSwitch} for more details and example.
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Directive({selector: '[ngSwitchDefault]'})
|
@Directive({selector: '[ngSwitchDefault]'})
|
||||||
export class 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'}
|
* {@example core/pipes/ts/date_pipe/date_pipe_example.ts region='DatePipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'date', pure: true})
|
@Pipe({name: 'date', pure: true})
|
||||||
export class DatePipe implements PipeTransform {
|
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'}
|
* {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'lowercase'})
|
@Pipe({name: 'lowercase'})
|
||||||
export class LowerCasePipe implements PipeTransform {
|
export class LowerCasePipe implements PipeTransform {
|
||||||
|
|
|
@ -86,7 +86,7 @@ function formatNumber(
|
||||||
*
|
*
|
||||||
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='NumberPipe'}
|
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='NumberPipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'number'})
|
@Pipe({name: 'number'})
|
||||||
export class DecimalPipe implements PipeTransform {
|
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'}
|
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='PercentPipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'percent'})
|
@Pipe({name: 'percent'})
|
||||||
export class PercentPipe implements PipeTransform {
|
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'}
|
* {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='CurrencyPipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'currency'})
|
@Pipe({name: 'currency'})
|
||||||
export class CurrencyPipe implements PipeTransform {
|
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'}
|
* {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@Pipe({name: 'uppercase'})
|
@Pipe({name: 'uppercase'})
|
||||||
export class UpperCasePipe implements PipeTransform {
|
export class UpperCasePipe implements PipeTransform {
|
||||||
|
|
|
@ -8,21 +8,21 @@ export declare class AsyncPipe implements OnDestroy {
|
||||||
transform(obj: Observable<any> | Promise<any> | EventEmitter<any>): any;
|
transform(obj: Observable<any> | Promise<any> | EventEmitter<any>): any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class CommonModule {
|
export declare class CommonModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class CurrencyPipe implements PipeTransform {
|
export declare class CurrencyPipe implements PipeTransform {
|
||||||
transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;
|
transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class DatePipe implements PipeTransform {
|
export declare class DatePipe implements PipeTransform {
|
||||||
transform(value: any, pattern?: string): string;
|
transform(value: any, pattern?: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class DecimalPipe implements PipeTransform {
|
export declare class DecimalPipe implements PipeTransform {
|
||||||
transform(value: any, digits?: string): string;
|
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;
|
abstract replaceState(state: any, title: string, url: string, queryParams: string): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class LowerCasePipe implements PipeTransform {
|
export declare class LowerCasePipe implements PipeTransform {
|
||||||
transform(value: string): string;
|
transform(value: string): string;
|
||||||
}
|
}
|
||||||
|
@ -147,18 +147,18 @@ export declare class NgStyle implements DoCheck {
|
||||||
ngDoCheck(): void;
|
ngDoCheck(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class NgSwitch {
|
export declare class NgSwitch {
|
||||||
ngSwitch: any;
|
ngSwitch: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class NgSwitchCase {
|
export declare class NgSwitchCase {
|
||||||
ngSwitchCase: any;
|
ngSwitchCase: any;
|
||||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class NgSwitchDefault {
|
export declare class NgSwitchDefault {
|
||||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, sswitch: NgSwitch);
|
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;
|
replaceState(state: any, title: string, url: string, queryParams: string): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class PercentPipe implements PipeTransform {
|
export declare class PercentPipe implements PipeTransform {
|
||||||
transform(value: any, digits?: string): string;
|
transform(value: any, digits?: string): string;
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,7 @@ export declare class SlicePipe implements PipeTransform {
|
||||||
transform(value: any, start: number, end?: number): any;
|
transform(value: any, start: number, end?: number): any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class UpperCasePipe implements PipeTransform {
|
export declare class UpperCasePipe implements PipeTransform {
|
||||||
transform(value: string): string;
|
transform(value: string): string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue