or even.yarn add vue-heatmapjs.Utilization.To utilize this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can include the v-heatmap regulation to the dom factors you desire to track....You can toggle the heatmap on and off by passing an articulation right into the ordinance:....Button Heatmap....
Utilizing the ordinance to a single nested component:.You can pay attention for events through passing an afterAdd technique within the plugin alternatives, which will certainly permit you to gain access to as well as process the celebrations recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you can discharge this spine to your analytics hosting server.,. ).A trendy project available on GitHub, help the writer by broadening it!