Created
June 16, 2017 10:41
-
-
Save acacha/247670f6a410103125d14b1eec268f4f 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
<script> | |
export default { | |
data() { | |
return { | |
isCollapsed : this.collapsed, | |
isRemovable: this.removable, | |
isSolid: this.solid, | |
} | |
}, | |
... | |
props: { | |
collapsed: { | |
type: Boolean, | |
default: false | |
}, | |
removable: { | |
type: Boolean, | |
default: true | |
}, | |
solid: { | |
type: Boolean, | |
default: true | |
}, | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment