or.anecdote add vue-heatmapjs.Consumption.To use this plugin import it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you may incorporate the v-heatmap regulation to the dom elements you want to track....You may toggle the heatmap on and also off by passing an articulation in to the ordinance:....Toggle Heatmap....
Using the directive to a single nested component:.You can listen closely for activities through passing an afterAdd procedure within the plugin alternatives, which will certainly permit you to accessibility as well as method the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you may shoot this spine to your analytics server.,. ).An amazing venture available on GitHub, help the writer by increasing it!