Skip to content

A tiny package that tracks idleness in a web application.

License

Notifications You must be signed in to change notification settings

jolleekin/idle_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idle_tracker

A tiny package that tracks idleness in a web application.

Usage

A simple usage example:

import 'package:idle_tracker/idle_tracker.dart';

void main() {
  new IdleTracker(
      timeout: const Duration(seconds: 5),
      periodicIdleCall: true,
      startsAsIdle: true,
      onIdle: () => print('Hey, are you there?'),
      onActive: () => print('Welcome back!'))
    ..start();
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A tiny package that tracks idleness in a web application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published