Sleep

Capture and visualize mouse activity in a heatmap along with a Vue directive #.\n\nvue-heatmapjs.\nFor statistic purposes (or everything else) you may utilize a directive for Vue.js, vue-heatmapjs, made to accumulate and present customer activity on an element.\nLive Demo.\nExample.\nYou can utilize NPM or Yarn to incorporate this plugin to your venture.\nnpm set up vue-heatmapjs.\n

or even.yarn incorporate vue-heatmapjs.Use.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 then you can easily add the v-heatmap regulation to the dom aspects you want to track....You may toggle the heatmap on and off through passing a phrase right into the ordinance:....Toggle Heatmap....
Using the ordinance to a singular nested part:.You can easily pay attention for activities through passing an afterAdd method within the plugin possibilities, which will certainly enable you to accessibility as well as procedure the activities 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 task offered on GitHub, help the author through growing it!

Articles You Can Be Interested In