or.anecdote include vue-heatmapjs.Use.To utilize this plugin bring in it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can incorporate the v-heatmap ordinance to the dom factors you want to track....You can toggle the heatmap on and off by passing a phrase right into the regulation:....Button Heatmap....
Making use of the ordinance to a single embedded part:.You may pay attention for occasions by passing an afterAdd strategy within the plugin choices, which will certainly enable you to accessibility and process the events caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( records).// you can discharge this back to your analytics hosting server.,. ).A trendy job on call on GitHub, assist the author by growing it!