> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/events/onchildappclosed.md).

# onChildAppClosed

This event is called when a child app of you current app is closed. The closed app object is available under **eventArgs.details** in the even source code- But be aware, that this app is closed. You can access properties liek appName but you might not use saveConfigRecord or such methods on the closed app.

### Example Usages

```javascript
   app.refreshDatasource("orderQuantity");

   console.log("The app: ${eventArgs.details.appName} was closed");
```
