Name refactor

pull/104/head
cagataycivici 2019-10-01 14:49:51 +03:00
parent 6db38a3992
commit 4bf42de44b
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<li role="presentation" v-for="(tab, i) of tabs" :key="tab.header || i" :class="['p-unselectable-text', {'p-highlight': (tab.d_active), 'p-disabled': tab.disabled}]">
<a role="tab" @click="onTabClick($event, tab)" @keydown="onTabKeydown($event, tab)" :tabindex="tab.disabled ? null : '0'">
<span class="p-tabview-title" v-if="tab.header">{{tab.header}}</span>
<TabHeaderSlot :tab="tab" v-if="tab.$scopedSlots.header" />
<TabPanelHeaderSlot :tab="tab" v-if="tab.$scopedSlots.header" />
</a>
</li>
</ul>
@ -15,7 +15,7 @@
</template>
<script>
const TabHeaderSlot = {
const TabPanelHeaderSlot = {
functional: true,
props: {
tab: {
@ -79,7 +79,7 @@ export default {
}
},
components: {
'TabHeaderSlot': TabHeaderSlot
'TabPanelHeaderSlot': TabPanelHeaderSlot
}
}
</script>