or.yarn add vue-heatmapjs.Use.To utilize this plugin bring in it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may incorporate the v-heatmap ordinance to the dom components you desire to track....You can easily toggle the heatmap on as well as off through passing a phrase in to the instruction:....Toggle Heatmap....
Utilizing the regulation to a single nested element:.You can pay attention for activities by passing an afterAdd procedure within the plugin options, which will certainly enable you to get access to and process the occasions grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( records).// you can easily fire this back to your analytics web server.,. ).A trendy job accessible on GitHub, assist the writer by expanding it!