12345678910111213141516171819 |
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- import Vue from 'vue';
- export default Vue.extend({
- name: 'elevatable',
- props: {
- elevation: [Number, String]
- },
- computed: {
- computedElevation: function computedElevation() {
- return this.elevation;
- },
- elevationClasses: function elevationClasses() {
- if (!this.computedElevation) return {};
- return _defineProperty({}, 'elevation-' + this.computedElevation, true);
- }
- }
- });
- //# sourceMappingURL=elevatable.js.map
|