HTML Elements › Forums › Tabs › Hide content on label click
Tagged: advanced tab, allowToggle, auto hide content Tab, auto hide tab, custom element, custom tabs element, smart elements, smart framework, smart tab, toggle tab, web component, web components
This topic contains 1 reply, has 2 voices, and was last updated by Dimitar 6 months, 2 weeks ago.
Is there a way to unselect and hide the content of a Tab item when clicked for the second time ? I noticed you have a collapsed property but that only hides the content without unselecting the label of the tab.
To achieve this, please set the property allowToggle to true.
Best regards, Dimitar
Smart HTML Elements Team https://www.htmlelements.com
You must be logged in to reply to this topic.