ng2-idle-core
Version:
ng-idle for Angular 2+ core module
12 lines (11 loc) • 483 B
TypeScript
import { EventEmitter } from '@angular/core';
import { InterruptArgs } from './interruptargs';
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;
}