Created
February 24, 2017 02:24
-
-
Save James-E-Adams/380acf3e42b9e873656421a1c93a4db0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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