harmony 鸿蒙Sheet Transition (System API)
Sheet Transition (System API)
You can bind a sheet to a component through the bindSheet attribute. You can also set the sheet to the preset or custom height for when the component is inserted.
NOTE
This feature is supported since API version 10. Updates will be marked with a superscript to indicate their earliest API version.
Route hopping is not supported.
This topic describes only the system APIs provided by the module. For details about its public APIs, see bindSheet.
SheetOptions
Optional attributes of the sheet. Inherits from BindOptions.
Name | Type | Mandatory | Description |
---|---|---|---|
offset14+ | Position | Yes | Bottom spacing, which is effective only when the sheet is a bottom sheet. When it is specified, the height detent cannot be set for the sheet. Default value: 0 vp for both the x-axis and y-axis System API: This is a system API. System capability: SystemCapability.ArkUI.ArkUI.Full |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦