MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / _removeFromLocalList

Method _removeFromLocalList

src/AutoNumeric.js:3758–3764  ·  view source on GitHub ↗

* Remove the given object from the local autoNumeric element list. * * @param {HTMLElement|HTMLInputElement} domElement * @private

(domElement)

Source from the content-addressed store, hash-verified

3756 * @private
3757 */
3758 _removeFromLocalList(domElement) {
3759 if (!AutoNumericHelper.isUndefined(this.autoNumericLocalList)) {
3760 this.autoNumericLocalList.delete(domElement);
3761 } else if (this.settings.createLocalList) {
3762 AutoNumericHelper.throwError(`The local list provided does not exists when trying to remove an element. [${this.autoNumericLocalList}] given.`);
3763 }
3764 }
3765
3766 /**
3767 * Merge the `newSettings` given as parameters into the current element settings.

Callers 2

detachMethod · 0.95
removeMethod · 0.95

Calls 2

isUndefinedMethod · 0.80
throwErrorMethod · 0.80

Tested by

no test coverage detected