or even.yarn add vue-heatmapjs.Utilization.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may include the v-heatmap instruction to the dom aspects you would like to track....You can toggle the heatmap on and off through passing a phrase right into the regulation:....Button Heatmap....
Using the instruction to a singular embedded element:.You may listen for activities by passing an afterAdd strategy within the plugin options, which will permit you to gain access to as well as method the events caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can easily discharge this back to your analytics server.,. ).An amazing project readily available on GitHub, aid the writer through extending it!