or even.yarn add vue-heatmapjs.Consumption.To use this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can incorporate the v-heatmap ordinance to the dom aspects you intend to track....You can easily toggle the heatmap on and off through passing a phrase into the ordinance:....Button Heatmap....
Utilizing the directive to a singular nested part:.You can easily listen closely for celebrations through passing an afterAdd procedure within the plugin options, which will allow you to get access to and also process the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can fire this spine to your analytics web server.,. ).An amazing task accessible on GitHub, help the writer through increasing it!