vue-light-tabs

1.0.1 • Public • Published

vue-light-tabs

Simple tabs component for Vue

  • install:
  npm install vue-light-tabs --save
  • usage:
  <LightTabs></LightTabs>
  import LightTabs from 'vue-light-tabs'
  ...
  components: {
    LightTabs
  }
  ...
  • API
props description type default
tabs tabs data list。eg: ['tab1', 'tab2'] Array []
background tabs background color String #ffffff
lineColor tab underline color String #333333
lineWidth tab underline width. no underline if it equals 0 Number 0
initTab initial active tab index Number 0
activeColor active tab color String #333333
inactiveColor inactive tab color String #999999
  • Events
props description return
on-change click tab event active tab index

Readme

Keywords

Package Sidebar

Install

npm i vue-light-tabs

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

54.3 kB

Total Files

12

Last publish

Collaborators

  • hry