Skip to content

Instantly share code, notes, and snippets.

@James-E-Adams
Created February 24, 2017 02:24
Show Gist options
  • Save James-E-Adams/380acf3e42b9e873656421a1c93a4db0 to your computer and use it in GitHub Desktop.
Save James-E-Adams/380acf3e42b9e873656421a1c93a4db0 to your computer and use it in GitHub Desktop.
'use strict'
declare var require: any
import VueComponent from 'vue-class-component'
@VueComponent({
template: require('./Tabs.html')
})
export default class {
data() {
return {
tabAccount: true,
tabPassword: false,
tabDelete: false,
}
}
methods:{} = {
account() {
this.tabAccount = true
this.tabPassword = false
this.tabDelete = false
},
password() {
this.tabAccount = false
this.tabPassword = true
this.tabDelete = false
},
delete() {
this.tabAccount = false
this.tabPassword = false
this.tabDelete = true
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment