UNPKG

ng2-slim-loading-bar

Version:

Angular2 component shows slim loading bar at the top of the page

29 lines (28 loc) 1.12 kB
// Copyright (C) 2016 Sergey Akopkokhyants // This project is licensed under the terms of the MIT license. // https://github.com/akserg/ng2-slim-loading-bar import { NgModule } from "@angular/core"; import { SlimLoadingBarComponent } from './src/slim-loading-bar.component'; import { SlimLoadingBarService } from './src/slim-loading-bar.service'; export * from './src/slim-loading-bar.component'; export * from './src/slim-loading-bar.service'; export var SlimLoadingBarModule = (function () { function SlimLoadingBarModule() { } SlimLoadingBarModule.forRoot = function () { return { ngModule: SlimLoadingBarModule, providers: [SlimLoadingBarService] }; }; SlimLoadingBarModule.decorators = [ { type: NgModule, args: [{ declarations: [SlimLoadingBarComponent], exports: [SlimLoadingBarComponent], providers: [SlimLoadingBarService] },] }, ]; /** @nocollapse */ SlimLoadingBarModule.ctorParameters = function () { return []; }; return SlimLoadingBarModule; }());