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

4
// Types & Components
5 1
import { BaseItemGroup, GroupableInstance } from './../VItemGroup/VItemGroup'
6

7
/* @vue/component */
8 1
export default VWindow.extend({
9
  name: 'v-tabs-items',
10

11
  props: {
12
    mandatory: {
13
      type: Boolean,
14
      default: false,
15
    },
16
  },
17

18
  computed: {
19 1
    classes (): object {
20 1
      return {
21
        ...VWindow.options.computed.classes.call(this),
22
        'v-tabs-items': true,
23
      }
24
    },
25 1
    isDark (): boolean {
26 1
      return this.rootIsDark
27
    },
28
  },
29

30
  methods: {
31 1
    getValue (item: GroupableInstance, i: number) {
32 1
      return item.id || BaseItemGroup.options.methods.getValue.call(this, item, i)
33
    },
34
  },
35
})

Read our documentation on viewing source code .

Loading