(elementOrSelector: string | HTMLElement | JQuery)
| 191 | * `const toast = Toast.getInstance(element); if (toast) toast.hide();` |
| 192 | */ |
| 193 | export function hideToast(elementOrSelector: string | HTMLElement | JQuery): void { |
| 194 | const element = getElement(elementOrSelector); |
| 195 | if (!element) return; |
| 196 | |
| 197 | const toast = Toast.getInstance(element); |
| 198 | if (toast) toast.hide(); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Get an existing dropdown instance for an element |
nothing calls this directly
no test coverage detected