(elementOrSelector: string | HTMLElement | JQuery)
| 204 | * @returns Existing dropdown instance or null if not found |
| 205 | */ |
| 206 | export function getDropdownInstance(elementOrSelector: string | HTMLElement | JQuery): Dropdown | null { |
| 207 | const element = getElement(elementOrSelector); |
| 208 | if (!element) return null; |
| 209 | |
| 210 | return Dropdown.getInstance(element); |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * Show a dropdown |
nothing calls this directly
no test coverage detected