or.yarn include vue-heatmapjs.Utilization.To utilize this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you may include the v-heatmap instruction to the dom components you would like to track....You can toggle the heatmap on as well as off through passing an expression into the regulation:....Toggle Heatmap....
Making use of the instruction to a singular nested element:.You can listen for celebrations through passing an afterAdd procedure within the plugin choices, which will definitely permit you to gain access to and also method the activities caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can terminate this back to your analytics hosting server.,. ).An awesome project readily available on GitHub, help the author through broadening it!