23 lines
678 B
JavaScript
23 lines
678 B
JavaScript
// Extensions
|
|
import VWindowItem from '../VWindow/VWindowItem';
|
|
// Mixins
|
|
import { deprecate } from '../../util/console';
|
|
/* @vue/component */
|
|
export default VWindowItem.extend({
|
|
name: 'v-tab-item',
|
|
props: {
|
|
id: String
|
|
},
|
|
render: function render(h) {
|
|
var render = VWindowItem.options.render.call(this, h);
|
|
// For backwards compatibility with v1.2
|
|
/* istanbul ignore next */
|
|
if (this.id) {
|
|
deprecate('id', 'value', this);
|
|
render.data.domProps = render.data.domProps || {};
|
|
render.data.domProps.id = this.id;
|
|
}
|
|
return render;
|
|
}
|
|
});
|
|
//# sourceMappingURL=VTabItem.js.map
|