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

23 lines
No EOL
478 B
JavaScript

import Vue from 'vue';
export default Vue.extend({
name: 'elevatable',
props: {
elevation: [Number, String]
},
computed: {
computedElevation() {
return this.elevation;
},
elevationClasses() {
const elevation = this.computedElevation;
if (elevation == null) return {};
if (isNaN(parseInt(elevation))) return {};
return {
[`elevation-${this.elevation}`]: true
};
}
}
});
//# sourceMappingURL=index.js.map