or.anecdote incorporate vue-heatmapjs.Usage.To use this plugin bring in it in your main.js.// main.js.import Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may add the v-heatmap regulation to the dom factors you want to track....You can toggle the heatmap on and also off by passing an articulation right into the ordinance:....Toggle Heatmap....
Using the ordinance to a solitary embedded component:.You can easily listen for activities by passing an afterAdd strategy within the plugin options, which will certainly allow you to access and method the occasions grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you may terminate this back to your analytics hosting server.,. ).A great venture readily available on GitHub, aid the writer through growing it!