Landbot.ContainerPopup

Embedded widget that opens as a popup inside a container.

This class extends Landbot.Widget. See Widget methods and properties.

Constructor

Landbot.ContainerPopup

Landbot.ContainerPopup(config)

Parameters:

  • config: Object

Create a Landbot ContainerPopup widget with given config. container property is required to let the widget know where to render its content. ContainerPopup behaves as a Container widget while navigating in desktop but it behaves as Fullpage when using on mobile.

var myLandbot = new Landbot.ContainerPopup({
  configUrl: '...',
  container: '#landbot-container',
})

Properties

container

Type: HTMLElement

Container element.