harmony 鸿蒙PageNodeInfo (System API)

  • 2025-06-12
  • 浏览 (4)

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 鸿蒙Ability Kit

harmony 鸿蒙AbilityAccessControl

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_access_control.h

harmony 鸿蒙ability_base_common.h

0  赞