MCPcopy
hub / github.com/autoNumeric/autoNumeric / _getFormHandlerFunction

Method _getFormHandlerFunction

src/AutoNumeric.js:1481–1485  ·  view source on GitHub ↗

* Return the 'submit' event handler function used for the parent form. * * @returns {Function} * @private

()

Source from the content-addressed store, hash-verified

1479 * @private
1480 */
1481 _getFormHandlerFunction() {
1482 const formHandlerName = this._getFormHandlerKey();
1483
1484 return window.aNFormHandlerMap.get(formHandlerName);
1485 }
1486
1487 /**
1488 * Remove the dataset attributes `data-an-count` and `data-an-form-handler` from the parent form element.

Callers 1

_removeFormListenerMethod · 0.95

Calls 2

_getFormHandlerKeyMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected