or.yarn incorporate vue-heatmapjs.Use.To utilize this plugin bring in 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 may incorporate the v-heatmap directive to the dom components you intend to track....You can easily toggle the heatmap on and also off by passing an articulation into the instruction:....Toggle Heatmap....
Using the regulation to a singular embedded element:.You can pay attention for celebrations by passing an afterAdd technique within the plugin choices, which will allow you to access as well as procedure the events grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can easily ax this spine to your analytics web server.,. ).An awesome venture readily available on GitHub, aid the author through expanding it!