harmony 鸿蒙PageNodeInfo (System API)
PageNodeInfo (System API)
PageNodeInfo defines the page node information used for auto-fill.
NOTE
The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version. The APIs provided by this module are system APIs. The APIs of this module can be used only in the stage model.
Attributes
System capability: SystemCapability.Ability.AbilityRuntime.AbilityCore
Name | Type | Read-Only | Optional | Description |
---|---|---|---|---|
id | number | No | No | ID of the page node. |
depth | number | No | No | Depth of the page node, in px. |
autoFillType | AutoFillType | No | No | Type of the element to be automatically filled in. |
tag | string | No | No | Tag of the page node. |
value | string | No | No | Value of the page node. |
placeholder | string | No | Yes | Placeholder of the page node. |
passwordRules | string | No | Yes | Rules for generating passwords. |
enableAutoFill | boolean | No | No | Status of the auto-fill feature. The value true means that the auto-fill feature is enabled, and false means the opposite. |
rect12+ | AutoFillRect | No | No | Coordinates, width, and height of the page node. |
isFocus12+ | boolean | No | No | Whether the page node has focus. The value true means that the page node has focus, and false means the opposite. |
metadata12+ | string | No | Yes | Metadata of the page node. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙AbilityAccessControl
harmony 鸿蒙OH_NativeBundle_ApplicationInfo
harmony 鸿蒙OH_NativeBundle_ElementName
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦