line_push/node_modules/vuetify/es5/components/VContent/VContent.js
2022-07-17 13:16:16 +08:00

33 lines
857 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _VMain = _interopRequireDefault(require("../VMain/VMain"));
var _console = require("../../util/console");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Extensions
/* @vue/component */
var _default = _VMain.default.extend({
name: 'v-main',
created: function created() {
(0, _console.deprecate)('v-content', 'v-main', this);
},
render: function render(h) {
// Add the legacy class names
var node = _VMain.default.options.render.call(this, h);
node.data.staticClass += ' v-content';
node.children[0].data.staticClass += ' v-content__wrap';
return h(node.tag, node.data, node.children);
}
});
exports.default = _default;
//# sourceMappingURL=VContent.js.map