-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Tabs
Sanya Boriskin edited this page Aug 5, 2019
·
11 revisions
For now we focus on bare-bones tab and make it solid.
- Only one style option.
- There is no content, only tabs themselves.
- Tabs are positioned only on top.
- Scroll is native scroll. No fancy arrows or custom scroll.
- va-tabs
- va-tab
Here's the general example:
<va-tabs v-model="tabValue">
<va-tab
v-for="title in tabTitles"
:key="title"
>
{{title}}
</va-tab>
</va-tabs>
-
value
- Number - selected tab index. -
right
- Boolean - align right. -
center
- Boolean - align center. -
grow
- Boolean - tabs will take full width. -
hideSlider
- Boolean - hide slider.
Has no props.