This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/lib/components/VChipGroup/VChipGroup.js

47 lines
964 B
JavaScript
Raw Normal View History

2019-08-11 18:48:02 +00:00
// Styles
import "../../../src/components/VChipGroup/VChipGroup.sass"; // Extensions
import { BaseSlideGroup } from '../VSlideGroup/VSlideGroup'; // Mixins
import Colorable from '../../mixins/colorable'; // Utilities
import mixins from '../../util/mixins';
/* @vue/component */
export default mixins(BaseSlideGroup, Colorable).extend({
name: 'v-chip-group',
provide() {
return {
chipGroup: this
};
},
props: {
column: Boolean
},
computed: {
classes() {
return { ...BaseSlideGroup.options.computed.classes.call(this),
'v-chip-group': true,
'v-chip-group--column': this.column
};
}
},
watch: {
column(val) {
if (val) this.scrollOffset = 0;
this.$nextTick(this.onResize);
}
},
methods: {
genData() {
return this.setTextColor(this.color, { ...BaseSlideGroup.options.methods.genData.call(this)
});
}
}
});
//# sourceMappingURL=VChipGroup.js.map