Releases: cristijora/vue-tabs
Releases · cristijora/vue-tabs
v0.5.7
v0.5.6
v0.5.5
Patches
- Merge pull request #22 from raeno/patch-1: 25dea0d
- Fix error when removing the active tab: 02d4304
- Merge pull request #23 from daniouyea/master: d3da9f9
- #20 Get rid of global anchor styles inside tabs: 796c1cf
- Merge pull request #1 from moondef/moondef-patch-1: bd77c2d
- Edit href: 65f47ad
- Merge pull request #27 from moondef/moondef-patch-2: 23f5f9d
- Merge pull request #26 from moondef/master: 65f90b3
v0.5.4
v0.5.3
v0.5.2
v0.5.1
Patches
- Fix v-model not working: e4d2f6f with the help of @thatside from #14
Working demo here: https://jsfiddle.net/b44cc4dq/275/
Updated docs and Readme with the respective demo.
v0.5.0
New
- Vue-tabs supports 3 different themes now!. They can be found under themes
- Rewrite with jsx for better modularity
- Full support for dynamic tab rendering (addition/removal)
v-model
support to switch tabs programmatically #7
Usage:
<vue-tabs v-model="tabName">
<v-tab v-for="(tab, index) in tabs"
:key="tab.name"
:title="tab.name"
icon="ti-user">
{{tab.name}}
</v-tab>
</vue-tabs>
export default{
data(){
return {
tabs: [{name:'name1'},{name:'name2'},{name:'name3'}],
tabName: 'name2'
}
}
}
value
prop (part of v-model) to specify the initial tab that should be open
value: [String, Number, Object]
Vue.use(VueTabs)
is no longer needed if the component is included via script tag. Note that it is still needed when used with npm- JS bundle size went down from 7kb minified to 4kb minified
- New
title
slot to customize tabs
Usage:
<v-tab>
<div slot="title"><i class="ti-user"></i> My customized tab</div>
</v-tab>
Breaking changes/Deprectations
start-index
is no longer support.v-model/value
should be used insteadbeforeChange
has been deprecated/removed. The usage of this prop was not well documented/showed in examples and implied a lot of changes in order to work properly. If you need it, please use vue-form-wizard or make a fork of this repo as I don't want to include validations in vue-tabs- vue-router & routing based on tabs is temporarily not supported
0.3.0
Minor Changes
- #3 Emit event upon tab change: 74e1412
- #3 Send tab components on upon tab change event: 54291ce
- Add documentation site: f70b8a6
- #4 Support async validation functions: 3f8a759
- Use aria tab interface specs. Css cleanup: 4d9e26f
- Auto install tabs plugin if Vue is defined in window: cf8cc42