go-bouquins/assets/js/author.js

18 lines
280 B
JavaScript
Raw Normal View History

2017-08-04 16:57:15 +00:00
var author = new Vue({
el: '#author',
2017-07-30 13:39:20 +00:00
data: {
tab: "books"
},
methods: {
showBooks: function() {
this.tab = "books";
},
showAuthors: function() {
this.tab = "authors";
},
showSeries: function() {
this.tab = "series";
}
}
})