Update doc and d.ts file of Tabview

pull/1533/head
mertsincan 2021-08-31 09:47:07 +03:00
parent 0704975c15
commit 7744691246
3 changed files with 20 additions and 7 deletions

View File

@ -10,6 +10,12 @@ const TabViewProps = [
type: "boolean",
default: "false",
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."
}
];

View File

@ -3,6 +3,7 @@ import { VNode } from 'vue';
interface TabViewProps {
activeIndex?: number;
lazy?: boolean;
scrollable?: boolean;
}
declare class TabView {

View File

@ -225,6 +225,12 @@ export default {
<td>boolean</td>
<td>false</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>
</tbody>
</table>