# new DictionaryPanel()
Methods
# _findKeyElementFuzzy(key) → {HTMLElement|null}
Find a dictionary key DOM element using case-insensitive and partial matching. Used as a fallback when the standard key matching in openKeyFromTextReference fails.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string
|
The key to search for |
The matching DOM element, or null if not found
HTMLElement
|
null
# _waitForKeyListLoaded() → {Promise}
Wait until the current key list has been loaded after a dictionary change. handleDictionaryChange loads keys asynchronously with a 500ms setTimeout.
Resolves when key list is available
Promise
# async openModuleEntry(moduleCode, key)
Open a specific entry from a dictionary module. If the module differs from the currently selected dictionary, it switches the dropdown to that module first.
Parameters:
| Name | Type | Description |
|---|---|---|
moduleCode |
string
|
The dictionary module code (e.g., 'NETmap', 'Vines') |
key |
string
|
The entry key to open |