Skip to main content

NavTabs

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
activeKeystringThe currently activated Tab
centeredboolfalseWhether to center left and right
itemsArray<ItemProps>Tabs content
showUnderLineobjectIs the border displayed at the bottom

ItemProps

NameTypeDefaultSupports Variable PatternDescription
keynumberTab's key
labelboolTab name displayed
hrefboollink address
hrefIsSiteBasedboolfalseIf the value is false and this link is under pbc, href will automatically splice the token of pbc as basename, and the mobile side will automatically splice the prefix of mobile
suppressInheritIncludeDeletedboolfalseIs it prohibited to automatically inherit the include_deleted property of the current page. This property is generally in the search params of the url of the current page.
hiddenConditionalPropertyPropType(bool)false✔️Whether the tab is hidden.

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component