We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now to use this component I need to something like this:
<tabs v-on:tab-selected="changeTab" animation="slide" :only-fade="false"> <tab-pane label="Day">Day Tab</tab-pane> <tab-pane label="Month">Month Tab</tab-pane> <tab-pane label="Year">Year Tab</tab-pane> </tabs>
methods: { changeTab: function (tabNumber) { switch (tabNumber) { case 0: this.periodType = 'day' break case 1: this.periodType = 'month' break case 2: this.periodType = 'year' break default: this.periodType = 'day' } } },
Is there any more convenient and flexible method to do it? For example, something like this:
<tabs v-model="periodType" animation="slide" :only-fade="false"> <tab-pane label="Day" value="day">Day Tab</tab-pane> <tab-pane label="Month" value="month">Month Tab</tab-pane> <tab-pane label="Year" value="year">Year Tab</tab-pane> </tabs>
The text was updated successfully, but these errors were encountered:
i think, if you use: . you can try. But i dont know if it will work.
Sorry, something went wrong.
No branches or pull requests
Now to use this component I need to something like this:
Is there any more convenient and flexible method to do it? For example, something like this:
The text was updated successfully, but these errors were encountered: