or even.yarn include vue-heatmapjs.Usage.To use this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can incorporate the v-heatmap ordinance to the dom factors you intend to track....You can toggle the heatmap on as well as off through passing an articulation right into the regulation:....Toggle Heatmap....
Utilizing the directive to a solitary embedded component:.You can listen closely for activities by passing an afterAdd technique within the plugin options, which will certainly allow you to get access to and process the occasions grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you can shoot this back to your analytics web server.,. ).An amazing project available on GitHub, assist the author by increasing it!