or even.yarn incorporate vue-heatmapjs.Consumption.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can easily include the v-heatmap directive to the dom elements you want to track....You can toggle the heatmap on and off by passing an expression right into the regulation:....Button Heatmap....
Making use of the instruction to a singular embedded element:.You may listen closely for celebrations by passing an afterAdd technique within the plugin possibilities, which are going to enable you to get access to and method the activities recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you may terminate this spine to your analytics server.,. ).An amazing project offered on GitHub, assist the writer by increasing it!