@ionic-native-ohos/keyboard 5.36.0 → 5.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -26,19 +26,7 @@ Install hionic CLI:
26
26
  npm install -g hionic
27
27
  ```
28
28
 
29
- Choose **one of the following two methods** only.
30
-
31
- npm installation:
32
-
33
- ```bash
34
- # Install plugin
35
- npm install @ionic-native/keyboard
36
-
37
- # Sync plugin
38
- hionic sync
39
- ```
40
-
41
- hionic CLI installation:
29
+ Installation:
42
30
 
43
31
  ```bash
44
32
  hionic plugin add @ionic-native/keyboard
@@ -190,7 +178,6 @@ await Keyboard.removeAllListeners();
190
178
  | `addListener(eventName: 'keyboardDidShow', ...)` | eventName: string, listenerFunc: (info: KeyboardInfo) => void | Promise<[PluginListenerHandle](#pluginlistenerhandle)> | Listen for keyboard-did-show event | Supported from API18 |
191
179
  | `addListener(eventName: 'keyboardWillHide', ...)` | eventName: string, listenerFunc: () => void | Promise<[PluginListenerHandle](#pluginlistenerhandle)> | Listen for keyboard-will-hide event | Supported from API20 |
192
180
  | `addListener(eventName: 'keyboardDidHide', ...)` | eventName: string, listenerFunc: () => void | Promise<[PluginListenerHandle](#pluginlistenerhandle)> | Listen for keyboard-did-hide event | Supported from API18 |
193
- | `removeAllListeners()` | None | `Promise<void>` | Remove all native listeners for this plugin | |
194
181
 
195
182
  ### Data Structures
196
183
 
package/README.md CHANGED
@@ -26,19 +26,7 @@
26
26
  npm install -g hionic
27
27
  ```
28
28
 
29
- 以下两种方式中**任选其一**即可,无需重复操作:
30
-
31
- npm安装:
32
-
33
- ```bash
34
- # 安装插件
35
- npm install @ionic-native/keyboard
36
-
37
- # 同步插件
38
- hionic sync
39
- ```
40
-
41
- hionic CLI安装:
29
+ 安装插件:
42
30
 
43
31
  ```bash
44
32
  hionic plugin add @ionic-native/keyboard
@@ -187,7 +175,6 @@ await Keyboard.removeAllListeners();
187
175
  | `addListener(eventName: 'keyboardDidShow', ...)` | eventName: string, listenerFunc: (info: KeyboardInfo) => void | Promise&lt;[PluginListenerHandle](#pluginlistenerhandle)&gt; | 监听键盘弹出的事件 | 从API18之后开始支持 |
188
176
  | `addListener(eventName: 'keyboardWillHide', ...)` | eventName: string, listenerFunc: () => void | Promise&lt;[PluginListenerHandle](#pluginlistenerhandle)&gt; | 监听键盘即将隐藏的事件 | 从API20之后开始支持 |
189
177
  | `addListener(eventName: 'keyboardDidHide', ...)` | eventName: string, listenerFunc: () => void | Promise&lt;[PluginListenerHandle](#pluginlistenerhandle)&gt; | 监听键盘隐藏的事件 | 从API18之后开始支持 |
190
- | `removeAllListeners()` | 无 | `Promise<void>` | 移除该插件的所有原生监听器 | |
191
178
 
192
179
  ### 数据结构
193
180
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic-native-ohos/keyboard",
3
- "version": "5.36.0",
3
+ "version": "5.36.1",
4
4
  "description": "Ionic Native - Native plugins for ionic apps",
5
5
  "cordova": {
6
6
  "id": "cordova-keyboard",
package/plugin.xml CHANGED
@@ -15,11 +15,11 @@
15
15
  -->
16
16
  <plugin
17
17
  id="cordova-keyboard"
18
- version="5.36.0">
18
+ version="5.36.1">
19
19
  <name>@ionic-native/keyboard</name>
20
20
  <description>Cordova Keyboard Plugin</description>
21
21
  <license>MIT</license>
22
- <keywords>cordova,insomnia</keywords>
22
+ <keywords>cordova,keyboard</keywords>
23
23
  <repo>https://gitcode.com/CPF-Ionic/ionic-native-keyboard.git</repo>
24
24
  <issue>https://gitcode.com/CPF-Ionic/ionic-native-keyboard/issues</issue>
25
25