or even.yarn include vue-heatmapjs.Consumption.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may include the v-heatmap directive to the dom aspects you want to track....You can easily toggle the heatmap on and off through passing an expression right into the regulation:....Button Heatmap....
Using the directive to a singular nested part:.You can easily listen closely for occasions through passing an afterAdd procedure within the plugin possibilities, which will definitely permit you to get access to and also method the celebrations caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you may fire this back to your analytics web server.,. ).A cool venture offered on GitHub, help the author through increasing it!