Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <template>
  2. <div id="cal-heatmap"></div>
  3. </template>
  4.  
  5. <script >
  6. import { Component, Prop, Vue } from 'vue-property-decorator';
  7. import CalHeatmap from 'cal-heatmap';
  8.  
  9.  
  10. export default {
  11. data(){
  12. return{
  13.  
  14. }
  15. },
  16. created(){
  17. var cal = new CalHeatMap();
  18. cal.init({
  19. itemSelector:'#cal-heatmap'
  20. })
  21. },
  22. methods: {
  23.  
  24. },
  25. }
  26. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement