Skip to content

Commit

Permalink
Merge pull request #4 from alex-gera/changed-event
Browse files Browse the repository at this point in the history
Add changed event to tabs
  • Loading branch information
evseevdev authored Nov 29, 2018
2 parents 092b3cc + 938ebff commit d60ae96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
if (!tab.isDisabled) {
this.activeTabIndex = index;
}
this.$emit('changed', tab);
},
getInitialActiveTab() {
Expand All @@ -52,4 +54,4 @@
}
}
</script>
</script>

0 comments on commit d60ae96

Please sign in to comment.