提交 2c575453 编写于 作者: H Hollokin

update

Signed-off-by: NHollokin <taoyuxin2@huawei.com>
上级 d69f4699
......@@ -504,7 +504,7 @@ createPanel(ctx: BaseContext, info: PanelInfo, callback: AsyncCallback\<Panel>):
```js
let panelInfo: inputMethodEngine.PanelInfo = {
panelType: SOFTKEYBOARD,
panelType: SOFT_KEYBOARD,
panelFlag: FLG_FIXED
}
try {
......@@ -550,7 +550,7 @@ createPanel(ctx: BaseContext, info: PanelInfo): Promise\<Panel>
```js
let panelInfo: inputMethodEngine.PanelInfo = {
panelType: SOFTKEYBOARD,
panelType: SOFT_KEYBOARD,
panelFlag: FLG_FIXED
}
inputMethodEngine.getInputMethodAbility().createPanel(this.context, panelInfo).then((panel) => {
......@@ -579,7 +579,7 @@ destroyPanel(panel: Panel, callback: AsyncCallback\<void>): void;
```js
let panelInfo: inputMethodEngine.PanelInfo = {
panelType: SOFTKEYBOARD,
panelType: SOFT_KEYBOARD,
panelFlag: FLG_FIXED
}
try {
......@@ -631,7 +631,7 @@ destroyPanel(panel: Panel): Promise\<void>;
```js
let panelInfo: inputMethodEngine.PanelInfo = {
panelType: SOFTKEYBOARD,
panelType: SOFT_KEYBOARD,
panelFlag: FLG_FIXED
}
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册