All Projects → falstack → v-switcher

falstack / v-switcher

Licence: MIT license
An powerful display tabs with Vue

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to v-switcher

Vue Tabs
Simplified bootstrap tabs
Stars: ✭ 241 (+330.36%)
Mutual labels:  tabs, nav
vue-magic-line
A flexible tabs-component for Vue
Stars: ✭ 40 (-28.57%)
Mutual labels:  tabs, vue-tabs
Vue Carousel
A flexible, responsive, touch-friendly carousel for Vue.js
Stars: ✭ 1,612 (+2778.57%)
Mutual labels:  carousel-component, vue-carousel
Tabman
™️ A powerful paging view controller with interactive indicator bars
Stars: ✭ 2,235 (+3891.07%)
Mutual labels:  tabs
Vue Admin
基于vue+element-ui的后台管理系统动态tabs实践
Stars: ✭ 208 (+271.43%)
Mutual labels:  tabs
ink-tab
Tab component for Ink 🌈
Stars: ✭ 87 (+55.36%)
Mutual labels:  tabs
snoozz-tab-snoozing
A Web Extension to declutter windows by snoozing tabs for later
Stars: ✭ 105 (+87.5%)
Mutual labels:  tabs
Xaringanextra
🎡 A playground of enhancements and extensions for xaringan slides.
Stars: ✭ 240 (+328.57%)
Mutual labels:  tabs
Hyper Tabs Enhanced
Enhanced Tabs Plugin for Hyper
Stars: ✭ 173 (+208.93%)
Mutual labels:  tabs
Vue Router Tab
Vue.js tab components, based on Vue Router.
Stars: ✭ 236 (+321.43%)
Mutual labels:  tabs
vue-splide
The Splide component for Vue.
Stars: ✭ 257 (+358.93%)
Mutual labels:  carousel-component
React Ant
(基于pro 2.0)基于Ant Design Pro 的 (多标签页tabs、拖拽、富文本、拾色器、多功能table、多选Select)
Stars: ✭ 231 (+312.5%)
Mutual labels:  tabs
Pixieditor
PixiEditor is a lightweight pixel art editor made with .NET 5
Stars: ✭ 210 (+275%)
Mutual labels:  tabs
CliChords
[CliChords] Get ultimate-guitar.com guitar tabs and chords in your terminal - command line cli
Stars: ✭ 20 (-64.29%)
Mutual labels:  tabs
Android Tablayouthelper
A small library which helps to use TabLayout with ViewPager more easily.
Stars: ✭ 181 (+223.21%)
Mutual labels:  tabs
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (-21.43%)
Mutual labels:  tabs
React Native Head Tab View
Add collapsible headers to your tab-view components.
Stars: ✭ 171 (+205.36%)
Mutual labels:  tabs
Swiftpagemenu
Customizable Page Tab Menu Controller 👍
Stars: ✭ 233 (+316.07%)
Mutual labels:  tabs
Material-BottomBarLayout
🎉A material navigation bar library which has pretty animations and different ways of arrangement.
Stars: ✭ 56 (+0%)
Mutual labels:  tabs
react-native-segment-control
Swipeable SegmentedControl component for React Native apps
Stars: ✭ 21 (-62.5%)
Mutual labels:  tabs

v-switcher

usage

yarn add v-switcher
// or
npm i v-switcher
import Vue from 'vue'
import VSwitcher from 'v-switcher'
import 'v-switcher/dist/v-switcher.css'

Vue.component(VSwitcher.name, VSwitcher)

props

name type default required description
headers Array [] Y tab-header 的数组,支持 icon
default-index Number 0 N 默认选中的 tab index
routable Boolean false N 设为 true 则为路由模式
animated Boolean false N 是否支持切换动画
duration Number 300 N 切换动画的时长,ms
align String start N tab 的展示模式 ['around', 'start', 'center', 'end', 'vertical']
swipe Boolean false N 是否支持左右手势滑动
headerTrigger String click N 头部动画触发的方式 ['click', 'hover']
anchorTrigger String click N 锚点动画触发的方式 ['click', 'hover']
anchorPadding Number 0 N 锚点元素的 padding 值
autoplay Number 0 N 自动切换的时长(ms)默认不自动切换
contentWidth String 100% N 每个 content 的宽度,默认 100%
headerHeight Number 40 N 每个 item 的高度(px),默认 40
fixedTop Number undefined N 如果设值,就为 headers fixed 时距离顶部的高度
sticky Boolean false N 是否使用 100% 高度布局
disabledSwipe Boolean false N 是否禁止 swipe 的 touch 事件
continuousSwipe Boolean false N 当使用 swipe 的时候,是否是无限滚动模式,如果 autoplay > 0 则强制为 true

example

用例比较多,比较复杂,等之后有时间了补在线 demo,现在先把项目 clone 到本地 npm run dev 查看吧

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].