* Return the value associated to the key `domElement` passed as a parameter. * The value is the AutoNumeric object that manages the DOM element `domElement`. * * @param {HTMLElement|HTMLInputElement} domElement * @returns {null|AutoNumeric} * @private
(domElement)
| 3659 | * @private |
| 3660 | */ |
| 3661 | static _getFromGlobalList(domElement) { //FIXME test this |
| 3662 | if (this._doesGlobalListExists()) { |
| 3663 | return window[this.autoNumericGlobalListName].get(domElement); |
| 3664 | } |
| 3665 | |
| 3666 | return null; |
| 3667 | } |
| 3668 | |
| 3669 | /** |
| 3670 | * Check if the given DOM element is in the global AutoNumeric element list. |
no test coverage detected