• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ViewData (System API)
2
3
4The module defines the view data used for auto-fill.
5
6> **NOTE**
7>
8> 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.
9> The APIs provided by this module are system APIs.
10> The APIs of this module can be used only in the stage model.
11
12## Properties
13
14**System capability**: SystemCapability.Ability.AbilityRuntime.AbilityCore
15
16| Name       | Type                | Read-Only| Optional| Description                                                        |
17| ----------- | ------------------- | ---- | ---- | ------------------------------------------------------------ |
18| bundleName    | string            | No  | No  | Bundle name.                              |
19| moduleName    | string            | No  | No  | Module name.                              |
20| abilityName   | string            | No  | No  | Ability name.   |
21| pageUrl       | string            | No  | No  | URL of the page.                              |
22| pageNodeInfos | Array<[PageNodeInfo](js-apis-inner-application-pageNodeInfo-sys.md)>    | No  | No  | Page node information.               |
23| pageRect<sup>12+</sup>    | [AutoFillRect](js-apis-inner-application-autoFillRect-sys.md)     | No  | No  | Coordinates, width, and height of the page.               |
24| isUserSelected<sup>12+</sup> | boolean | No  | No  | Whether the content to be filled is selected by the user. **true** if the content is selected by the user, and **false** otherwise.|
25| isOtherAccount<sup>12+</sup> | boolean | No  | No  | Whether to display other account information saved in the password box for the user to select. **true** to display, **false** otherwise.|
26