1e41f4b71Sopenharmony_ci# AutoFillPopupConfig (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe AutoFillPopupConfig module describes the size and position information of an auto-fill pop-up.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci> 
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci> The APIs provided by this module are system APIs.
10e41f4b71Sopenharmony_ci>
11e41f4b71Sopenharmony_ci> The APIs of this module can be used only in the stage model.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci## Modules to Import
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci```ts
16e41f4b71Sopenharmony_ciimport { autoFillManager } from '@kit.AbilityKit';
17e41f4b71Sopenharmony_ci```
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci## AutoFillPopupConfig
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**System API**: This is a system API.
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.AbilityCore
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci| Name   | Type          | Mandatory | Description                                      |
26e41f4b71Sopenharmony_ci| --------- | -------------- | ---- | ------------------------------------------ |
27e41f4b71Sopenharmony_ci| popupSize | [PopupSize](#popupsize)      | No  | Width and height of the auto-fill pop-up. If this parameter is not set, the width and height are not updated. |
28e41f4b71Sopenharmony_ci| placement | [PopupPlacement](#popupplacement) | No  | Position of the auto-fill pop-up. If this parameter is not set, the position is not updated.|
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci## PopupSize
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ciDescribes the width and height of the auto-fill pop-up.
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ci**System API**: This is a system API.
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.AbilityCore
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci| Name | Type  | Mandatory | Description           |
39e41f4b71Sopenharmony_ci| ------ | ------ | ---- | --------------- |
40e41f4b71Sopenharmony_ci| width  | number | Yes  | Width of the auto-fill pop-up. |
41e41f4b71Sopenharmony_ci| height | number | Yes  | Height of the auto-fill pop-up. |
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci## PopupPlacement
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ciEnumerates the positions of an auto-fill pop-up.
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**System API**: This is a system API.
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.AbilityCore
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci| Name        | Value | Description                              |
52e41f4b71Sopenharmony_ci| ------------ | --- | --------------------------------- |
53e41f4b71Sopenharmony_ci| LEFT         |  0  |The popup is on the left of the component and aligned with the left center of the component. |
54e41f4b71Sopenharmony_ci| RIGHT        |  1  |The popup is on the right of the component and aligned with the right center of the component. |
55e41f4b71Sopenharmony_ci| TOP          |  2  |The popup is at the top of the component and aligned with the top center of the component. |
56e41f4b71Sopenharmony_ci| BOTTOM       |  3  |The popup is at the bottom of the component and aligned with the bottom center of the component. |
57e41f4b71Sopenharmony_ci| TOP_LEFT     |  4  |The popup is at the top of the component and aligned with the left edge of the component. |
58e41f4b71Sopenharmony_ci| TOP_RIGHT    |  5  |The popup is at the top of the component and aligned with the right edge of the component. |
59e41f4b71Sopenharmony_ci| BOTTOM_LEFT  |  6  |The popup is at the bottom of the component and aligned with the left edge of the component. |
60e41f4b71Sopenharmony_ci| BOTTOM_RIGHT |  7  |The popup is at the bottom of the component and aligned with the right edge of the component. |
61e41f4b71Sopenharmony_ci| LEFT_TOP     |  8  |The popup is on the left of the component and aligned with the top edge of the component. |
62e41f4b71Sopenharmony_ci| LEFT_BOTTOM  |  9  |The popup is on the left of the component and aligned with the bottom edge of the component. |
63e41f4b71Sopenharmony_ci| RIGHT_TOP    |  10 |The popup is on the right of the component and aligned with the top edge of the component. |
64e41f4b71Sopenharmony_ci| RIGHT_BOTTOM |  11 |The popup is on the right of the component and aligned with the bottom edge of the component. |
65e41f4b71Sopenharmony_ci| NONE         |  12 |The position is unspecified.                               |
66