Sleep

Capture as well as imagine computer mouse activity in a heatmap with a Vue ordinance #.\n\nvue-heatmapjs.\nFor statistic reasons (or even anything else) you can easily utilize an ordinance for Vue.js, vue-heatmapjs, designed to pick up and present customer activity on a component.\nStay Trial.\nInstance.\nYou may make use of NPM or even Yarn to incorporate this plugin to your venture.\nnpm set up vue-heatmapjs.\n

or.anecdote add vue-heatmapjs.Consumption.To utilize this plugin import it in your main.js.// main.js.import Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can incorporate the v-heatmap ordinance to the dom aspects you desire to track....You can easily toggle the heatmap on and off by passing an articulation into the directive:....Button Heatmap....
Utilizing the directive to a solitary nested part:.You can pay attention for activities by passing an afterAdd procedure within the plugin options, which will certainly permit you to gain access to as well as method the occasions recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may ax this back to your analytics web server.,. ).A trendy project readily available on GitHub, aid the writer by expanding it!

Articles You Can Be Interested In