UNPKG

@progress/kendo-angular-intl

Version:

Kendo UI Internationalization for Angular 2 components

28 lines (27 loc) 700 B
import { Injectable, EventEmitter } from '@angular/core'; /** * An abstract base class that implements * the Internationalization service methods * for the current locale. */ var IntlService = /** @class */ (function () { function IntlService() { /** * @hidden */ this.changes = new EventEmitter(); } /** * Notifies that the service was changed. */ IntlService.prototype.notify = function () { this.changes.emit(); }; IntlService.decorators = [ { type: Injectable }, ]; /** @nocollapse */ IntlService.ctorParameters = function () { return []; }; return IntlService; }()); export { IntlService };