Render modes
Floating, embedded, and custom-launcher render modes for the chat widget.
await chat.render({ mode: "floating" }); // default
await chat.render({ mode: "embedded", target: "#support-panel" }); // inline
await chat.render({ mode: "custom-launcher", launcher: false }); // your launcher| Mode | Behavior |
|---|---|
floating | Default. Floating launcher + panel anchored to a corner. |
embedded | Renders the widget inside a container you provide (target). |
custom-launcher | Hides our launcher; you control open/close. Events still fire. |
For full manual control of when and where the widget mounts, set
autorender: false and then call render(...) yourself —
nothing is mounted until you do.