目录

ViewData

View data information for autofill.

Since: 26.0.0

ViewData

Since: 26.0.0

Atomic service API: This API can be used in atomic services since API version 26.0.0.

System capability: SystemCapability.Ability.AbilityRuntime.AbilityCore

Model restriction: This API can be used only in the stage model.

Name Type Read-Only Optional Description
bundleName string No No App name.
pageUrl string No No URL of the page.
pageNodeInfos Array<PageNodeInfo> No No Information about the page nodes.
pageRect AutoFillRect No No Position coordinates and width and height information of the page. On PC/2-in-1 devices, Password Vault is displayed as a dialog box. To ensure that the dialog box position follows the input box, set both left and top to 0.