Skip to main content

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

Properties (4)

Property Type Default Required Description
alerts⚓︎ { enabled: boolean; } x x

Settings for the io.Connect alerts.

awaitFactory⚓︎ boolean true x

If true, the @interopio/browser library will wait for the IOBrowserModalsUI() factory function to resolve before completing its initialization.

dialogs⚓︎ { enabled: boolean; } x x

Settings for the io.Connect dialogs.

timeout⚓︎ number 5000 x

Interval in milliseconds to wait for the IOBrowserModalsUI() factory function to be fetched from the remote source.