Sleep

Capture as well as imagine mouse task in a heatmap with a Vue directive #.\n\nvue-heatmapjs.\nFor statistic objectives (or just about anything else) you can use a regulation for Vue.js, vue-heatmapjs, created to gather and also feature user task on a component.\nReside Demo.\nExample.\nYou may use NPM or Anecdote to add this plugin to your venture.\nnpm mount vue-heatmapjs.\n

or even.yarn include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can incorporate the v-heatmap regulation to the dom aspects you intend to track....You may toggle the heatmap on and off through passing an articulation right into the instruction:....Button Heatmap....
Utilizing the ordinance to a single embedded component:.You can easily listen closely for celebrations through passing an afterAdd approach within the plugin alternatives, which are going to permit you to gain access to as well as procedure the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you may shoot this back to your analytics server.,. ).An amazing project offered on GitHub, help the writer by expanding it!

Articles You Can Be Interested In