or.yarn include vue-heatmapjs.Usage.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can easily add the v-heatmap ordinance to the dom aspects you wish to track....You can easily toggle the heatmap on and also off through passing an expression right into the ordinance:....Toggle Heatmap....
Using the directive to a solitary nested part:.You may listen closely for activities by passing an afterAdd approach within the plugin choices, which are going to enable you to accessibility and also method the activities caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( information).// you can easily fire this back to your analytics web server.,. ).A trendy project readily available on GitHub, help the writer by extending it!