Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Removes the embedded chat icon in the corner of the screen. You can use this method when navigating away from a screen in a single page application. The method is accessible both from the profound.ai.agent and the profound.ai client-side objects. The following 2 lines method calls are equivalent:

Code Block
languagejs
// This method call is preferred and will work even when an agent is not started
profound.ai.removeEmbedIcon();

// This method call will only work if an agent is already started
profound.ai.agent.removeEmbedIcon();

...