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/VSheet/VSheet.js

47 lines
1 KiB
JavaScript
Raw Normal View History

2019-08-11 18:48:02 +00:00
// Styles
import "../../../src/components/VSheet/VSheet.sass"; // Mixins
import Colorable from '../../mixins/colorable';
import Elevatable from '../../mixins/elevatable';
import Measurable from '../../mixins/measurable';
import Themeable from '../../mixins/themeable'; // Helpers
import mixins from '../../util/mixins';
/* @vue/component */
export default mixins(Colorable, Elevatable, Measurable, Themeable).extend({
name: 'v-sheet',
props: {
tag: {
type: String,
default: 'div'
},
tile: Boolean
},
computed: {
classes() {
return {
'v-sheet': true,
'v-sheet--tile': this.tile,
...this.themeClasses,
...this.elevationClasses
};
},
styles() {
return this.measurableStyles;
}
},
render(h) {
const data = {
class: this.classes,
style: this.styles,
on: this.$listeners
};
return h(this.tag, this.setBackgroundColor(this.color, data), this.$slots.default);
}
});
//# sourceMappingURL=VSheet.js.map