or.anecdote incorporate vue-heatmapjs.Utilization.To use this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily include the v-heatmap ordinance to the dom factors you intend to track....You may toggle the heatmap on and also off by passing an expression into the regulation:....Toggle Heatmap....
Utilizing the directive to a singular embedded component:.You may pay attention for activities through passing an afterAdd strategy within the plugin options, which are going to allow you to gain access to and procedure the celebrations grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you can fire this back to your analytics hosting server.,. ).An awesome project on call on GitHub, aid the writer through expanding it!