or.anecdote include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.import Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can add the v-heatmap instruction to the dom factors you desire to track....You may toggle the heatmap on and also off through passing a phrase right into the instruction:....Button Heatmap....
Making use of the ordinance to a solitary nested element:.You may listen closely for activities by passing an afterAdd procedure within the plugin choices, which are going to allow you to access and method the activities grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may shoot this back to your analytics web server.,. ).A great venture available on GitHub, assist the author through broadening it!