Class

StrongsOccurrencesHelper

StrongsOccurrencesHelper()

The StrongsOccurrencesHelper handles all Strong's occurrence-related functionality for the WordStudyPanel, including fetching and rendering occurrence statistics, index generation, and displaying all occurrences in a tab or popup.

Methods

# attachOccurrencesEventHandlers()

Attaches click handlers for the occurrence stats link, generate-index button, and show-all link.

View Source frontend/components/tool_panel/word_study_panel/strongs_occurrences_helper.js, line 200

# async getOccurrencesHtml()

Returns the full occurrences HTML section for a Strong's entry, handling both Cordova and desktop paths.

View Source frontend/components/tool_panel/word_study_panel/strongs_occurrences_helper.js, line 53

# async getStrongsTranslation()

Returns the translation id that has Strong's numbers, checking primary then secondary.

View Source frontend/components/tool_panel/word_study_panel/strongs_occurrences_helper.js, line 36

# async handleGenerateIndex()

Triggers Strong's index generation with a progress bar and re-renders occurrences on completion.

View Source frontend/components/tool_panel/word_study_panel/strongs_occurrences_helper.js, line 239

# async showAllOccurrences()

Opens all occurrences of a Strong's key in either a new tab or a popup dialog.

View Source frontend/components/tool_panel/word_study_panel/strongs_occurrences_helper.js, line 272