Tidy pane js

This commit is contained in:
Pete Richards 2018-08-15 16:47:48 -07:00
parent 91eefbfa7b
commit 3957fd619a

View File

@ -187,17 +187,12 @@ export default {
}
},
beforeMount() {
console.log('this.$parent', this.$parent, this.$parent.type);
this.type = this.$parent.type;
},
mounted() {
this.type = this.$parent.type;
if (this.type === 'horizontal') {
this.styleProp = 'width';
} else {
this.styleProp = 'height';
}
this.trackSize();
},
methods: {
toggleCollapse: function () {