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