or even.anecdote incorporate vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can add the v-heatmap ordinance to the dom aspects you desire to track....You can toggle the heatmap on as well as off through passing an expression right into the directive:....Button Heatmap....
Making use of the ordinance to a single nested element:.You can listen for occasions by passing an afterAdd technique within the plugin choices, which will enable you to gain access to and also procedure the events grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you can ax this spine to your analytics hosting server.,. ).An amazing project readily available on GitHub, aid the author through growing it!