or even.anecdote include vue-heatmapjs.Consumption.To utilize this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can easily add the v-heatmap directive to the dom factors you would like to track....You may toggle the heatmap on and also off through passing a phrase right into the ordinance:....Button Heatmap....
Making use of the regulation to a solitary embedded part:.You can easily pay attention for activities through passing an afterAdd procedure within the plugin choices, which will enable you to get access to and method the celebrations recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you may shoot this spine to your analytics hosting server.,. ).A cool project available on GitHub, help the author by extending it!