or even.yarn include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can incorporate the v-heatmap directive to the dom components you desire to track....You may toggle the heatmap on as well as off through passing a phrase in to the directive:....Button Heatmap....
Utilizing the directive to a solitary nested component:.You may listen for occasions through passing an afterAdd procedure within the plugin choices, which will definitely permit you to accessibility as well as procedure the events grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can shoot this spine to your analytics web server.,. ).A trendy venture offered on GitHub, help the author by growing it!