Class

DictionaryController

DictionaryController()

The DictionaryController handles functionality for the lookup of dictionary information based on Strong's keys. It handles the mouse move events when the user is hovering individual words in the text while holding SHIFT. It handles the long presses on Android (alternative for mousemove). It handles the state of the dictionary info box.

Like other controllers it is only initialized once. It is accessible at the global object app_controller.dictionary_controller.

Constructor

# new DictionaryController()

View Source frontend/controllers/dictionary_controller.js, line 38

Members

Methods

# getStrongsIdsFromStrongsElement(strongsElement) → {Array}

Parameters:
Name Type Description
strongsElement HTMLElement

element to extract Strongs Numbers from

View Source frontend/controllers/dictionary_controller.js, line 232

an array of Strongs Ids or an empty array

Array