UNPKG

ng-refs

Version:

Practice better dependency injection of browser APIs within your Angular components and services.

28 lines 1.06 kB
import { NgModule } from '@angular/core'; import { AnimationFrameRef } from './refs/animationframe.ref'; import { ConsoleRef } from './refs/console.ref'; import { GetComputedStyleRef } from './refs/get-computed-style.ref'; import { IntervalRef } from './refs/interval.ref'; import { LocalstorageRef } from './refs/localstorage.ref'; import { LocationRef } from './refs/location.ref'; import { SessionstorageRef } from './refs/sessionstorage.ref'; import { TimeoutRef } from './refs/timeout.ref'; import { WindowRef } from './refs/window.ref'; export class NgRefsModule { } NgRefsModule.decorators = [ { type: NgModule, args: [{ providers: [ AnimationFrameRef, ConsoleRef, GetComputedStyleRef, IntervalRef, LocalstorageRef, LocationRef, SessionstorageRef, TimeoutRef, WindowRef ] },] } ]; //# sourceMappingURL=ng-refs.module.js.map