or even.anecdote incorporate vue-heatmapjs.Consumption.To use this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can include the v-heatmap directive to the dom elements you intend to track....You may toggle the heatmap on as well as off by passing an articulation in to the instruction:....Toggle Heatmap....
Using the directive to a singular nested element:.You may listen closely for events through passing an afterAdd procedure within the plugin choices, which will definitely allow you to gain access to and method the occasions recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can terminate this back to your analytics hosting server.,. ).A trendy task accessible on GitHub, aid the writer by broadening it!