Add collapsible text component

This commit is contained in:
Montana
2019-06-03 10:32:36 -04:00
parent ffa1163083
commit 14a179a239
4 changed files with 31 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
export default {
name: 'semi-collapsible-text',
data: function() {
return {
open: false,
}
},
methods: {
toggle: function() {
this.open = !this.open
},
},
}