UNPKG

@ng-idle/core

Version:

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

14 lines 636 B
import { EventEmitter } from '@angular/core'; import { InterruptArgs } from './interruptargs'; import { InterruptOptions } from './interruptoptions'; export declare abstract class InterruptSource { protected attachFn?: (source: InterruptSource) => void; protected detachFn?: (source: InterruptSource) => void; isAttached: boolean; onInterrupt: EventEmitter<InterruptArgs>; constructor(attachFn?: (source: InterruptSource) => void, detachFn?: (source: InterruptSource) => void); attach(): void; detach(): void; initialize?(options?: InterruptOptions): void; } //# sourceMappingURL=interruptsource.d.ts.map