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

33 lines
786 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
// 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