@omostan/ngx-idle
Version:
A module for responding to idle users in Angular applications. this is a forked version of the original @ng-Idle
13 lines • 479 B
TypeScript
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