attach - Methods - Feedback Aide API

Feedback Aide API Methods

attach()

Render the Feedback Aide UI into the provided element.

You would want to use this to render the predefined Feedback Aide UI into your application.

Examples

await ui.attach(document.querySelector('.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 appropriate error message.

Was this article helpful?

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