or.yarn incorporate vue-heatmapjs.Usage.To use this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may include the v-heatmap instruction to the dom components you want to track....You can toggle the heatmap on and also off by passing an expression in to the regulation:....Toggle Heatmap....
Using the directive to a single embedded part:.You can easily pay attention for celebrations through passing an afterAdd technique within the plugin possibilities, which are going to enable you to access as well as process the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can easily ax this spine to your analytics server.,. ).A trendy task offered on GitHub, aid the writer through growing it!