or.anecdote include vue-heatmapjs.Use.To utilize this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily add the v-heatmap ordinance to the dom components you wish to track....You can easily toggle the heatmap on as well as off by passing an articulation in to the regulation:....Button Heatmap....
Using the ordinance to a single nested element:.You can easily listen for activities through passing an afterAdd approach within the plugin options, which will certainly permit you to gain access to and procedure the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can shoot this back to your analytics hosting server.,. ).A trendy venture available on GitHub, aid the author through expanding it!