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/VBtnToggle/VBtnToggle.js
2019-08-11 20:48:02 +02:00

33 lines
No EOL
786 B
JavaScript

// Styles
import "../../../src/components/VBtnToggle/VBtnToggle.sass"; // Mixins
import ButtonGroup from '../../mixins/button-group';
import Colorable from '../../mixins/colorable'; // Utilities
import mixins from '../../util/mixins';
/* @vue/component */
export default mixins(ButtonGroup, Colorable).extend({
name: 'v-btn-toggle',
props: {
rounded: Boolean
},
computed: {
classes() {
return { ...ButtonGroup.options.computed.classes.call(this),
'v-btn-toggle': true,
'v-btn-toggle--rounded': this.rounded,
...this.themeClasses
};
}
},
methods: {
genData() {
return this.setTextColor(this.color, { ...ButtonGroup.options.methods.genData.call(this)
});
}
}
});
//# sourceMappingURL=VBtnToggle.js.map