Tabbed Container
Last updated
Was this helpful?
Last updated
Was this helpful?
In Lowcoder, the Tabbed Container component enables developers to organize content into multiple tabs within a single interface, enhancing user experience by allowing seamless navigation between different sections without leaving the current page.
Key Features:
Multiple Tabs: Create and manage multiple tabs, each capable of containing various components, facilitating the organization of related content within a compact space.
Customisation: Tailor each tab's title, icon, and content to align with the application's design and functionality requirements.
Dynamic Content Loading: Configure tabs to load content dynamically, improving performance by fetching data only when a tab is activated.
Event Handling: Implement event handlers to trigger specific actions when users switch tabs, enhancing interactivity and responsiveness.
Styling Options: Apply custom styles to the Tabbed Container and its tabs to maintain visual consistency with the overall application design.
Be aware that, by default, components within inactive tabs may be destroyed to optimize performance. To retain their state, adjust the "Destroy Inactive TabPane" setting accordingly.
On Component Playground, you can interact with the Tabbed Container component and explore it's Properties, Events and Methods. Play with different Styling properties to see the effect on the Tabbed Container component.
In the Auto-Docs of Tabbed Container component, we have shown how to use different properties of the component. It also includes the Styling properties of the component.
These properties are accessible in {{ }} notations, as well as in JavaScript Queries.
hidden
Boolean
Returns True or False based on whether the Tabbed Container is hidden or not
selectedTabKey
String
Returns value of the Selected Tab option
Events give you the ability to trigger further actions (with Event-Handlers).
Switch Tab
Triggers when a User "switches" any Tab on the Tabbed Container
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilised. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
setKey
Set the data/value of the property selectedTabKey
clearKey
Clear the data/value of the property selectedTabKey
resetKey
Clear the data/value of the property selectedTabKey