or.anecdote incorporate vue-heatmapjs.Utilization.To utilize this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily include the v-heatmap regulation to the dom factors you wish to track....You may toggle the heatmap on and also off through passing an expression in to the regulation:....Button Heatmap....
Making use of the directive to a solitary embedded part:.You can pay attention for activities by passing an afterAdd technique within the plugin possibilities, which are going to allow you to get access to and also method the activities captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you can terminate this spine to your analytics server.,. ).An awesome job readily available on GitHub, aid the writer through broadening it!