All files / src Slide.vue

93.75% Statements 15/16
50% Branches 4/8
80% Functions 4/5
90.91% Lines 10/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 333x     3x     3x     28x         28x 28x             3x 3x 28x 3x              
<template>
  <div class="VueCarousel-slide">
    <slot></slot>
  </div>
</template>
 
<script>
  export default {
    name: "slide",
    data() {
      return {
        width: null,
      }
    },
    Emounted() {
      if (!this.$isServer) {
        this.$el.addEventListener("dragstart", e => e.preventDefault())
      }
    }
  }
</script>
 
E<style>
  .VueCarousel-slide {
    flex-basis: inherit;
    flex-grow: 0;
    flex-shrink: 0;
    user-select: none;
    backface-visibility: hidden;
    -webkit-touch-callout: none;
  }
</style>