harmony 鸿蒙tab-content
tab-content
NOTE
This component is supported since API version 4. Updates will be marked with a superscript to indicate their earliest API version.
Required Permissions
None
Child Components
Supported
Attributes
In addition to the universal attributes, the following attributes are supported.
Name | Type | Mandatory | Description |
---|---|---|---|
scrollable | boolean | No | Whether the tabs can be switched by swiping left or right. The default value is true. If this attribute is set to false, tab switching is implemented only through the association with tab-bar. |
Styles
The universal styles are supported.
Events
The universal events are supported.
Example
For details, see Example in tabs.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙JavaScript-compatible Web-like Development Paradigm
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦