or.anecdote include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily incorporate the v-heatmap ordinance to the dom components you want to track....You can easily toggle the heatmap on as well as off by passing an articulation into the instruction:....Button Heatmap....
Making use of the regulation to a single nested element:.You can pay attention for activities through passing an afterAdd technique within the plugin alternatives, which will certainly enable you to gain access to and also method the occasions captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can easily fire this back to your analytics web server.,. ).A cool job accessible on GitHub, aid the writer through broadening it!