primevue-mirror/api-generator/components/tabview.js

29 lines
748 B
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const TabViewProps = [
{
name: "activeIndex",
type: "number",
default: "0",
description: "Index of the active tab."
},
{
name: "lazy",
type: "boolean",
default: "false",
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
2021-08-31 06:47:07 +00:00
},
{
name: "scrollable",
type: "boolean",
default: "false",
2021-08-31 12:53:48 +00:00
description: "When enabled displays buttons at each side of the tab headers to scroll the tab list."
2021-05-12 09:35:29 +00:00
}
];
module.exports = {
tabview: {
name: "TabView",
description: "TabView is a container component to group content with tabs.",
props: TabViewProps
}
};