or even.yarn include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can easily include the v-heatmap instruction to the dom components you desire to track....You can easily toggle the heatmap on and off by passing an expression in to the ordinance:....Button Heatmap....
Using the directive to a single embedded part:.You may pay attention for occasions through passing an afterAdd approach within the plugin alternatives, which will definitely permit you to gain access to and also procedure the activities recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you may ax this spine to your analytics web server.,. ).A great task available on GitHub, aid the writer by expanding it!