Update doc and d.ts file of Tabview
parent
0704975c15
commit
7744691246
|
@ -10,6 +10,12 @@ const TabViewProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "false",
|
default: "false",
|
||||||
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "scrollable",
|
||||||
|
type: "boolean",
|
||||||
|
default: "false",
|
||||||
|
description: "When specified, enables horizontal scrolling."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { VNode } from 'vue';
|
||||||
interface TabViewProps {
|
interface TabViewProps {
|
||||||
activeIndex?: number;
|
activeIndex?: number;
|
||||||
lazy?: boolean;
|
lazy?: boolean;
|
||||||
|
scrollable?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class TabView {
|
declare class TabView {
|
||||||
|
|
|
@ -225,6 +225,12 @@ export default {
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
<td>When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.</td>
|
<td>When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>scrollable</td>
|
||||||
|
<td>boolean</td>
|
||||||
|
<td>false</td>
|
||||||
|
<td>When specified, enables horizontal scrolling.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue