Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

richadams/jquery-tripleclick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple tripleclick event for jQuery.

Click on an element three times within 1s to trigger the event.

Usage:

$("#element").bind("tripleclick", function()
{
    // Actions
});

// or

$("#element").on("tripleclick", function()
{
    // Actions
});

You can also override the 1s time limit by passing in a new threshold,

$("#element").on("tripleclick", { threshold: 2000 }, function()
{
    // Actions
});

About

A triple-click event for jQuery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published