Feedback Aide API Methods
attach()
Renders the standard Feedback Aide interface into the provided element.
You would want to use this to render the default Feedback Aide interface into your application.
Examples
const container = document.querySelector('.container');
await sessionUI.attach(container);
Arguments
-
element HTMLElement
The HTML element into which the Feedback Aide UI will be rendered.
Return value
Type Promise
Resolves when the Feedback Aide UI has been successfully attached and rendered within the DOM element. The promise does not return any value upon resolution.
If the container is not specified, or if the Feedback Aide UI is already attached, the promise will be rejected with an error message.
Related articles
- The
detach()method, which removes the rendered Feedback Aide interface.