Skip to main content

Dialogs

A dialog is presented above any content current view with a backdrop to move user's attention to the dialog content and prevent user from interacting with anything else.

The following dialogs are avaible:

  • Message dialog - a built-in variant showing a title, message and button to dismiss it
  • Confirm dialog - a built-in variant showing a title, message and buttons to confirm or dismiss it
  • Custom dialog - provided by app with total control of the presented content and interactions inside an iframe. When shown, the iframe will be added and load the url provided by your app and when closed the iframe will be removed. It may contain any number of buttons to dismiss / confirm the presented content. A cross in upper right corner will always be shown for use to dismiss the dialog at any time.

Replacing built-in dialogs

We allow replacing some built-in dialogs that otherwise normally would be provided by Bambuser, see list below

  • vto-consent - The dialog shown to shopper before Virtual try-on session is started (configurable by merchant if this dialog will be shown or not)

Access during development

In most cases you'll need to open the dialogs manually from code or by navigating the user interface in order to show it. However if your app adds capability to replace built-in dialogs adding a query parameter to the Bambuser App Development URL e.g. dialog=<your-dialog-id> the custom dialog will be shown directly.

Read more

See Dialogs example or Dialog API for additional information how to provide dialogs from your app