or.yarn include vue-heatmapjs.Usage.To utilize 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 after that you may incorporate the v-heatmap ordinance to the dom aspects you intend to track....You may toggle the heatmap on and also off by passing an expression in to the regulation:....Toggle Heatmap....
Using the directive to a single nested part:.You may listen for activities through passing an afterAdd technique within the plugin possibilities, which will permit you to access and procedure the celebrations caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you can discharge this back to your analytics web server.,. ).A trendy venture accessible on GitHub, help the author by broadening it!