1.0.5 • Published 4 years ago

vue-scrollable-tabs v1.0.5

Weekly downloads
30
License
MIT
Repository
github
Last release
4 years ago

vue-scrollable-tabs

A scrollable vue tab component

install

npm install vue-scrollable-tabs --save

use

use with global

// main.js
import VueScrollableTabs from "vue-scrollable-tabs";

Vue.use(VueScrollableTabs)

use with component

import { scrollTab, tabItem } from "vue-scrollable-tabs";

export default {
  components: {
    scrollTab,
    tabItem
  }
}

demo

<template>
  <div>
    <scroll-tab ref="scrollTab">
      <tab-item
        v-for="(item, index) in tabs"
        :key="index"
        :index="index"
       >tab {{ index }}</tab-item>
    </scroll-tab>
  </div>
</template>
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago