()
| 80 | } |
| 81 | |
| 82 | async function init() { |
| 83 | if (isInitialized) return; |
| 84 | isInitialized = true; |
| 85 | |
| 86 | if (!prebuiltItems || prebuiltItems.length === 0) { |
| 87 | $listContainer.appendChild($loadingState); |
| 88 | flatItems = await buildFlatList(references, symbolName); |
| 89 | $loadingState.remove(); |
| 90 | } |
| 91 | |
| 92 | renderList(); |
| 93 | $listContainer.appendChild($refList); |
| 94 | } |
| 95 | |
| 96 | function destroy() { |
| 97 | $refList.innerHTML = ""; |
nothing calls this directly
no test coverage detected