Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. methods: {
  2. sendDrag (val) {
  3. console.log(val)
  4. }
  5. [...]
  6.  
  7.  
  8.  
  9. mounted () {
  10. this.$nextTick(() => {
  11. this.$refs.flickity.on('dragStart', function () {
  12. this.stageDragging = true
  13. this.sendDrag('started')
  14. })
  15.  
  16. mounted () {
  17. this.$nextTick(() => {
  18. const that = this;
  19. this.$refs.flickity.on('dragStart', function () {
  20. that.stageDragging = true
  21. that.sendDrag('started')
  22. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement