Download and include
touchpoint-es5.min.js in the
<head> or at the end of the
<body> (recommended) in your HTML document. There are no dependencies:
ES6Same instructions as above, except use
touchpoint.js(ES6). You will need a polyfill to run this in-browser. I use
`babel-polyfill`which can be installed on your machine by using NPM from your command line.
<script src="node_modules/babel-polyfill/dist/polyfill.min.js"></script> <script src="dist/touchpoint.js"></script>
Quick Start/How to Use
After you load the script you simply initialize TouchPoint and add an event listener to whichever DOM element you want TouchPoint to show over:
<script> TouchPoint.init(); </script>
Start clicking away on the page to see it in action.
Please view the README file on the Github repo for full documentation of the API.======= >>>>>>> Remove template copy