1# @ohos.inputMethod.Panel (Input Method Panel) 2 3The **inputMethod.Panel** module provides APIs for managing the attributes of the input method panel. 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 9## Modules to Import 10 11```ts 12import { PanelInfo, PanelType, PanelFlag } from '@kit.IMEKit'; 13``` 14 15## PanelInfo 16 17Defines the attributes of the input method panel. 18 19**System capability**: SystemCapability.MiscServices.InputMethodFramework 20 21| Name| Type| Mandatory| Description| 22| -------- | -------- | -------- | -------- | 23| type | [PanelType](#paneltype) | Yes| Type of the input method panel.| 24| flag | [PanelFlag](#panelflag) | No| State type of the input method panel.<br>- The default value is **FLAG_FIXED**.<br>- Currently, this parameter is used to describe the state type of the soft keyboard.| 25 26## PanelType 27 28Enumerates the types of the input method panel. 29 30**System capability**: SystemCapability.MiscServices.InputMethodFramework 31 32| Name | Value | Description | 33| ------------- | ---- | ------------ | 34| SOFT_KEYBOARD | 0 | Soft keyboard.| 35| STATUS_BAR | 1 | Status bar.| 36 37## PanelFlag 38 39Enumerates the state types of the input method panel. 40 41**System capability**: SystemCapability.MiscServices.InputMethodFramework 42 43| Name | Value | Description | 44| -------------- | ---- | ------------------------------------------------------------ | 45| FLAG_FIXED | 0 | Fixed state type. | 46| FLAG_FLOATING | 1 | Floating state type. | 47| FLAG_CANDIDATE | 2 | Candidate state type.<br>- When in the candidate state type, the input method panel is a window displaying candidates based on user input.<br>- The input method service does not proactively control the visibility of the candidate panel. You need to control the visibility on your own.| 48