or.anecdote incorporate vue-heatmapjs.Use.To use this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can include the v-heatmap instruction to the dom elements you want to track....You can toggle the heatmap on and off through passing an articulation right into the ordinance:....Toggle Heatmap....
Using the regulation to a solitary nested part:.You may pay attention for events by passing an afterAdd method within the plugin options, which will certainly allow you to get access to as well as procedure the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you may shoot this spine to your analytics server.,. ).An amazing project readily available on GitHub, aid the writer by extending it!