ngx-loading
Version:
A customisable loading spinner for Angular applications.
35 lines • 2.81 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { NgxLoadingComponent } from './ngx-loading.component';
var NgxLoadingModule = /** @class */ (function () {
function NgxLoadingModule() {
}
/**
* @param {?} loadingConfig
* @return {?}
*/
NgxLoadingModule.forRoot = /**
* @param {?} loadingConfig
* @return {?}
*/
function (loadingConfig) {
return {
ngModule: NgxLoadingModule,
providers: [{ provide: 'loadingConfig', useValue: loadingConfig }]
};
};
NgxLoadingModule.decorators = [
{ type: NgModule, args: [{
imports: [CommonModule],
declarations: [NgxLoadingComponent],
exports: [NgxLoadingComponent]
},] },
];
return NgxLoadingModule;
}());
export { NgxLoadingModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWxvYWRpbmcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWxvYWRpbmcvIiwic291cmNlcyI6WyJsaWIvbmd4LWxvYWRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFOUQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFOUQ7SUFBQTtJQVlBLENBQUM7Ozs7O0lBTlEsd0JBQU87Ozs7SUFBZCxVQUFlLGFBQWdDO1FBQzdDLE1BQU0sQ0FBQztZQUNMLFFBQVEsRUFBRSxnQkFBZ0I7WUFDMUIsU0FBUyxFQUFFLENBQUMsRUFBRSxPQUFPLEVBQUUsZUFBZSxFQUFFLFFBQVEsRUFBRSxhQUFhLEVBQUUsQ0FBQztTQ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