or.anecdote include vue-heatmapjs.Usage.To use this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily add the v-heatmap directive to the dom factors you intend to track....You can easily toggle the heatmap on as well as off through passing a phrase right into the regulation:....Toggle Heatmap....
Utilizing the ordinance to a singular nested part:.You can pay attention for activities by passing an afterAdd method within the plugin options, which are going to enable you to gain access to as well as procedure the celebrations captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you may ax this spine to your analytics server.,. ).A cool job on call on GitHub, assist the writer through broadening it!