PT tab label changes

pull/3841/head
Bahadır Sofuoğlu 2023-04-03 15:39:25 +03:00
parent 4dde1b7072
commit 78d4e84c0b
3 changed files with 5 additions and 10 deletions

View File

@ -13,7 +13,7 @@
<button type="button" @click="tab = 1">API</button> <button type="button" @click="tab = 1">API</button>
</li> </li>
<li v-if="ptTabComponent" :class="{ 'doc-tabmenu-active': tab === 2 }"> <li v-if="ptTabComponent" :class="{ 'doc-tabmenu-active': tab === 2 }">
<button type="button" @click="tab = 2">Pass Through</button> <button type="button" @click="tab = 2">PASS THROUGH</button>
</li> </li>
</ul> </ul>

View File

@ -1,7 +1,5 @@
<template> <template>
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs" :level="2" />
<p>A simple Panel is created with a <i>header</i> property along with the content as children.</p>
</DocSectionText>
<div class="card"> <div class="card">
<Panel header="Header" :pt="{ header: { style: 'background:#3B82F6' }, title: { style: 'color:#fff' }, toggler: { style: 'color:#fff' } }" toggleable> <Panel header="Header" :pt="{ header: { style: 'background:#3B82F6' }, title: { style: 'color:#fff' }, toggler: { style: 'color:#fff' } }" toggleable>
<p class="m-0"> <p class="m-0">

View File

@ -21,21 +21,18 @@ export default {
docs: [ docs: [
{ {
id: 'pt.image', id: 'pt.image',
label: 'Image', label: 'WireFrame',
description: 'Pass Through Image',
component: PTImage component: PTImage
}, },
{ {
id: 'pt.doc', id: 'pt.doc',
label: 'Panel PT Options', label: 'Panel Elements',
description: 'Pass Through Doc',
component: DocApiTable, component: DocApiTable,
data: getPTOption('Panel') data: getPTOption('Panel')
}, },
{ {
id: 'pt.demo', id: 'pt.demo',
label: 'Demo', label: 'Example',
description: 'Pass Through Demo',
component: PtDoc component: PtDoc
} }
] ]