or even.anecdote include vue-heatmapjs.Usage.To utilize this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may add the v-heatmap ordinance to the dom elements you intend to track....You may toggle the heatmap on and also off through passing an articulation in to the regulation:....Toggle Heatmap....
Using the ordinance to a singular embedded element:.You may listen closely for events by passing an afterAdd strategy within the plugin options, which are going to permit you to gain access to and procedure the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you may shoot this back to your analytics web server.,. ).A trendy project available on GitHub, aid the author through growing it!