1
// Extensions
2 1
import VWindowItem from '../VWindow/VWindowItem'
3

4
/* @vue/component */
5 1
export default VWindowItem.extend({
6
  name: 'v-tab-item',
7

8
  props: {
9
    id: String,
10
  },
11

12
  methods: {
13 0
    genWindowItem () {
14 0
      const item = VWindowItem.options.methods.genWindowItem.call(this)
15

16 1
      item.data!.domProps = item.data!.domProps || {}
17 1
      item.data!.domProps.id = this.id || this.value
18

19 0
      return item
20
    },
21
  },
22
})

Read our documentation on viewing source code .

Loading