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

53 lines
No EOL
1 KiB
JavaScript

// Styles
import "../../../src/components/VApp/VApp.sass"; // Mixins
import Themeable from '../../mixins/themeable'; // Utilities
import mixins from '../../util/mixins';
/* @vue/component */
export default mixins(Themeable).extend({
name: 'v-app',
props: {
dark: {
type: Boolean,
default: undefined
},
id: {
type: String,
default: 'app'
},
light: {
type: Boolean,
default: undefined
}
},
computed: {
isDark() {
return this.$vuetify.theme.dark;
}
},
render(h) {
const wrapper = h('div', {
staticClass: 'v-application--wrap'
}, this.$slots.default);
return h('div', {
staticClass: 'v-application',
class: {
'v-application--is-rtl': this.$vuetify.rtl,
'v-application--is-ltr': !this.$vuetify.rtl,
...this.themeClasses
},
attrs: {
'data-app': true
},
domProps: {
id: this.id
}
}, [wrapper]);
}
});
//# sourceMappingURL=VApp.js.map