You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`width`|`string`| 400px | The width of the widget in css values (px, vh, etc.). |
348
348
|`height`|`string`| 600px | The height of the widget in css values (px, vh, etc.). |
349
349
|`maxHeight`|`number`| --- | The widget automatically adjusts its height depending on the content. By default, the maximum height is `body.offsetHeight`, but it might be customized using the `maxHeight` parameter. |
|`disableToastMessages`|`boolean`| false | CoW Swap displays a pop-up notification when certain events occur, for example: an order has been filled. You may want to handle these events yourself and disable the display of notifications in the widget, to do this you need to enable this option. See [Events handling](#events-handling) section for more details. |
364
364
|`disablePostedOrderConfirmationModal`|`boolean`| false | Disables showing the confirmation modal after posting an order. |
365
365
|`disableProgressBar`|`boolean`| false | Disables showing the progress bar after a SWAP order is placed. |
|`standaloneMode`|`boolean`| false | When this option is enabled, the widget will use its own Ethereum provider and the user will be able to connect a wallet from within the widget. |
367
368
|`hideNetworkSelector`|`boolean`| false | Disables an opportunity to change the network from the widget UI. |
368
369
|`hideLogo`|`boolean`| false | Hides the logo in the widget. |
0 commit comments