or.yarn add vue-heatmapjs.Utilization.To utilize this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can easily add the v-heatmap directive 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....
Making use of the ordinance to a singular nested component:.You may pay attention for celebrations through passing an afterAdd approach within the plugin alternatives, which will enable you to gain access to as well as method the celebrations captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can discharge this back to your analytics web server.,. ).A trendy job on call on GitHub, assist the author by expanding it!