UNPKG

@ng-idle/core

Version:

A module for detecting and responding to the user becoming idle in Angular applications.

13 lines 467 B
import { InterruptArgs } from './interruptargs'; import { InterruptOptions } from './interruptoptions'; import { InterruptSource } from './interruptsource'; export declare class Interrupt { source: InterruptSource; private sub; constructor(source: InterruptSource, options?: InterruptOptions); subscribe(fn: (args: InterruptArgs) => void): void; unsubscribe(): void; resume(): void; pause(): void; } //# sourceMappingURL=interrupt.d.ts.map