UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

17 lines (16 loc) 630 B
import { Provider } from '@angular/core'; import { Observable } from 'rxjs'; export declare class LocaleProviderService { private _locale; private _change; constructor(locale: any); readonly localeChange: Observable<any>; getLocaleValue(keyPath: string): string; getLocaleSubObj(keyPath: string): object; setLocale(locale: any): void; getLocaleId(): string; getLocale(): any; private _getObjectPath; } export declare function LOCALE_PROVIDER_SERVICE_FACTORY(exist: LocaleProviderService, locale: any): LocaleProviderService; export declare const LOCALE_PROVIDER_SERVICE_PROVIDER: Provider;