<a name="ul14115199322"></a><a name="ul14115199322"></a><ul id="ul14115199322"><li><strong id="b769552812371"><a name="b769552812371"></a><a name="b769552812371"></a>keyboardHeightChange</strong>: listening for keyboard height changes.</li><li><strong id="b1623112311379"><a name="b1623112311379"></a><a name="b1623112311379"></a>windowSizeChange</strong><sup id="sup192328313374"><a name="sup192328313374"></a><a name="sup192328313374"></a>7+</sup>: listening for window size changes.</li><li><strong id="b1187717338379"><a name="b1187717338379"></a><a name="b1187717338379"></a>systemAvoidAreaChange</strong><sup id="sup4877113363711"><a name="sup4877113363711"></a><a name="sup4877113363711"></a>7+</sup>: listening for changes to the area where the window cannot be displayed.</li></ul>
<td class="cellrowborder" valign="top" width="50.99%" headers="mcps1.1.5.1.4 "><p id="p91501819172913"><a name="p91501819172913"></a><a name="p91501819172913"></a>Callback used to return the information.</p>
| type | string | Yes | Listening type. <br/>- **keyboardHeightChange**: listening for keyboard height changes.<br/>- **windowSizeChange'7+**: listening for window size changes.<br/>- **systemAvoidAreaChange'7+**: listening for changes to the area where the window cannot be displayed. |
| callback | Callback<[AvoidArea](#section74393271254) \| [Size](#section695585431120) \| number> | Yes | Callback used to return the information. |
- Example
```
var type = 'windowSizeChange';
windowClass.on(type, (data) => {
console.info('Succeeded in enabling the listener for window size changes. Data: ' + JSON.stringify(data));
});
```
- Example
```
var type = 'windowSizeChange';
windowClass.on(type, (data) => {
console.info('Succeeded in enabling the listener for window size changes. Data: ' + JSON.stringify(data));
<a name="ul138421616133318"></a><a name="ul138421616133318"></a><ul id="ul138421616133318"><li><strong id="b1586219427379"><a name="b1586219427379"></a><a name="b1586219427379"></a>keyboardHeightChange</strong>: listening for keyboard height changes.</li><li><strong id="b38954434379"><a name="b38954434379"></a><a name="b38954434379"></a>windowSizeChange</strong><sup id="sup5896114333712"><a name="sup5896114333712"></a><a name="sup5896114333712"></a>7+</sup>: listening for window size changes.</li><li><strong id="b18271846153710"><a name="b18271846153710"></a><a name="b18271846153710"></a>systemAvoidAreaChange</strong><sup id="sup122711469375"><a name="sup122711469375"></a><a name="sup122711469375"></a>7+</sup>: listening for changes to the area where the window cannot be displayed.</li></ul>
<td class="cellrowborder" valign="top" width="50.99%" headers="mcps1.1.5.1.4 "><p id="p134131250102915"><a name="p134131250102915"></a><a name="p134131250102915"></a>Callback used to return the information.</p>
| type | string | Yes | Listening type. <br/>- **'keyboardHeightChange'**: listening for keyboard height changes.<br/>- **'windowSizeChange'<sup>7+</sup>**: listening for window size changes.<br/>- **'systemAvoidAreaChange'<sup>7+</sup>**: listening for changes to the area where the window cannot be displayed. |
| callback | Callback<[AvoidArea](#section74393271254) \| [Size](#section695585431120) \| number> | No | Callback used to return the information. |