or.anecdote add vue-heatmapjs.Consumption.To utilize this plugin import it in your main.js.// main.js.import Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can incorporate the v-heatmap ordinance to the dom aspects you desire to track....You can easily toggle the heatmap on and off by passing an articulation into the directive:....Button Heatmap....
Utilizing the directive to a solitary nested part:.You can pay attention for activities by passing an afterAdd procedure within the plugin options, which will certainly permit you to gain access to as well as method the occasions recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may ax this back to your analytics web server.,. ).A trendy project readily available on GitHub, aid the writer by expanding it!