or even.anecdote incorporate vue-heatmapjs.Usage.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may include the v-heatmap directive to the dom aspects you wish to track....You can easily toggle the heatmap on and off by passing a phrase into the directive:....Toggle Heatmap....
Using the regulation to a singular embedded component:.You can listen closely for celebrations through passing an afterAdd approach within the plugin options, which are going to enable you to gain access to and also method the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you may discharge this spine to your analytics hosting server.,. ).A great job readily available on GitHub, aid the author by expanding it!