Tabs.vue 402 Bytes
Newer Older
潘际乾 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<template>
  <el-tabs v-bind="$attrs" v-on="$listeners" :tab-position="tabPosition">
      <slot></slot>
  </el-tabs>
</template>

<script>
export default {
    props: {
        // top/right/bottom/left
        tabPosition: {
            type: String,
            default: "top",
            required: false
        }
    },
    data () {
        return {
        }
    }
}
</script>

<style>

</style>