Skip to content

pandaxfly/Capture.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Capture.js ##Faster way to capture front end CLICK event ##and send it to your server (next release)

###Dependencies

  • jQuery
  • platform.js

###Let's begin

  • Include capture.js in your html
<script type="text/javascript" src="capture.js"></script>
  • Mark the tag you want to capture with attribute 'capture'
<p capture>This textline can be captured.</p>
  • Create new capture object
var pan = window.capture();

Here we go.

###How to use *pan.browserInfo(): user's browser information

pan.browserInfo();

*pan.list(): list out all the tags that can be captured

pan.list();

*pan.createEvent(): create captured event.

pan.createEvent();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors