* Removes the Feedback integration (including host, shadow DOM, and all widgets)
()
| 399 | * Removes the Feedback integration (including host, shadow DOM, and all widgets) |
| 400 | */ |
| 401 | remove(): void { |
| 402 | if (_shadow) { |
| 403 | _shadow.parentElement?.remove(); |
| 404 | _shadow = null; |
| 405 | _mainStyle = null; |
| 406 | } |
| 407 | // Remove any lingering subscriptions |
| 408 | _subscriptions.forEach(sub => sub()); |
| 409 | _subscriptions = []; |
| 410 | }, |
| 411 | }; |
| 412 | }) satisfies IntegrationFn; |
| 413 |