or.anecdote include vue-heatmapjs.Consumption.To use this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may incorporate the v-heatmap directive to the dom factors you intend to track....You can toggle the heatmap on and off by passing an expression into the instruction:....Button Heatmap....
Making use of the regulation to a singular embedded element:.You can listen closely for activities through passing an afterAdd procedure within the plugin options, which will certainly permit you to get access to and method the occasions captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you may discharge this spine to your analytics web server.,. ).An amazing project accessible on GitHub, help the writer through broadening it!