# ModalsUIConfig

**Kind**: interface | **Module**: [io.Connect Browser](https://docs.interop.io/browser/reference/javascript/io.connect%20browser/index.md)

**Source**: https://docs.interop.io/browser/reference/javascript/io.connect browser/modalsuiconfig/index.html

The [`@interopio/modals-ui`](https://www.npmjs.com/package/@interopio/modals-ui) library provides components and APIs used
in **io.Connect Browser** for displaying dialogs and alerts. When initializing the [`@interopio/browser`](https://www.npmjs.com/package/@interopio/browser) library,
you can provide configuration for the Modals UI library (e.g., disable alerts and/or dialogs, and more).

## Properties

- **`alerts`** (`{ enabled: boolean; }`, optional)
  Settings for the io.Connect alerts.
- **`awaitFactory`** (`boolean`, optional) default: `true`
  If `true`, the `@interopio/browser` library will wait for the `IOBrowserModalsUI()` factory function to resolve before completing its initialization.
- **`dialogs`** (`{ enabled: boolean; }`, optional)
  Settings for the io.Connect dialogs.
- **`timeout`** (`number`, optional) default: `5000`
  Interval in milliseconds to wait for the `IOBrowserModalsUI()` factory function to be fetched from the remote source.
