# ListerResizeData

If a [script add-in](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_add-ins)implements the [**OnListerResize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_events/onlisterresize) event, the method receives a **ListerResizeData** object whenever a Lister window is resized.

| Property Name | Return Type                                                                                                                       | Description                                                                                                                                                                         |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| action        | *string*                                                                                                                          | Returns a *string* indicating the resize action that occurred. This will be one of the following strings: *resize*, *minimize*, *maximize*, *restore.*                              |
| width         | int                                                                                                                               | Returns the new width of the Lister in pixels.                                                                                                                                      |
| height        | int                                                                                                                               | Returns the new height of the Lister in pixels.                                                                                                                                     |
| lister        | *object:*[**Lister**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/lister) | Returns a [**Lister**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/lister) object representing the Lister that was resized. |
