mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Update doc and d.ts file of Tabview
This commit is contained in:
parent
0704975c15
commit
7744691246
3 changed files with 20 additions and 7 deletions
|
@ -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."
|
||||
}
|
||||
];
|
||||
|
||||
|
|
1
src/components/tabview/TabView.d.ts
vendored
1
src/components/tabview/TabView.d.ts
vendored
|
@ -3,6 +3,7 @@ import { VNode } from 'vue';
|
|||
interface TabViewProps {
|
||||
activeIndex?: number;
|
||||
lazy?: boolean;
|
||||
scrollable?: boolean;
|
||||
}
|
||||
|
||||
declare class TabView {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue