• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# PageNodeInfo
2
3PageNodeInfo defines the page node information used for auto-fill.
4
5> **NOTE**
6>
7> 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.
8> The APIs provided by this module are system APIs.
9> The APIs of this module can be used only in the stage model.
10
11## Attributes
12
13**System capability**: SystemCapability.Ability.AbilityRuntime.AbilityCore
14
15| Name       | Type                | Mandatory| Description                                                        |
16| ----------- | -------------------- | ---- | ------------------------------------------------------------ |
17| id    | number               | Yes  | ID of the page node.                              |
18| depth    | number              | Yes  | Depth of the page node.                              |
19| autoFillType    | [AutoFillType](js-apis-inner-application-autoFillType.md)        | Yes  | Type of the element to be automatically filled in.   |
20| tag    | string              | Yes  | Tag of the page node.                              |
21| value    | string              | Yes  | Value of the page node.                              |
22| placeholder    | string              | No  | Placeholder of the page node.                              |
23| passwordRules    | string              | No  | Rules for generating passwords.                              |
24| enableAutoFill    | boolean              | Yes  | Status of the auto-fill feature.                              |
25