or.yarn incorporate vue-heatmapjs.Consumption.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you may include the v-heatmap regulation to the dom factors you wish to track....You may toggle the heatmap on as well as off by passing an articulation right into the ordinance:....Toggle Heatmap....
Utilizing the instruction to a singular nested part:.You may listen closely for activities by passing an afterAdd approach within the plugin possibilities, which will certainly permit you to gain access to as well as method the events captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you may terminate this back to your analytics hosting server.,. ).A trendy project on call on GitHub, assist the writer by broadening it!