detach - Methods - Feedback Aide API

Feedback Aide API Methods

detach()

Detaches and cleans up the Feedback Aide UI from the DOM.

You would want to use this to remove the Feedback Aide UI from your application, for example, when browsing to another page in a single page application.

This method should be called to properly remove the standard and release resources when the feedback session is no longer needed.

Examples

await sessionUI.detach();

Arguments

None.

Return value

Type Promise

Resolves when the Feedback Aide UI has been successfully detached from the DOM and all associated resources have been released. The promise does not return any value upon resolution.

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.