Skip to content

Generic framework js to capture all the page events and store it.

License

Notifications You must be signed in to change notification settings

vijay122/Capture.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capture.js

Generic javascript plugin to capture all the page events and push it to an exposed api. Usage Add jquery reference in the web page.(if jquery is really needed, else put it in DOMContentLoaded for just plain vanilla javascript projects) Add reference to capture.js file in ur masterpage, and provide the class capture to the container div. All the elements inside the container div are tracked for events, and stored in the array.

jQuery(document).ready(function($){ var interaction = new Capture({ interactions: true, interactionElement: "capture", interactionEvents: ["mouseup", "touchstart", "touchend"], });

About

Generic framework js to capture all the page events and store it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published