* Execute the given callback function using the given result as its first parameter, and the AutoNumeric object as its second. * * @param {number|string|Array|null} result * @param {function|null} callback If a callback is passed, then the result is passed to it as its first argument,
(result, callback)
| 2432 | * @private |
| 2433 | */ |
| 2434 | _executeCallback(result, callback) { |
| 2435 | if (!AutoNumericHelper.isNull(callback) && AutoNumericHelper.isFunction(callback)) { |
| 2436 | callback(result, this); |
| 2437 | } |
| 2438 | } |
| 2439 | |
| 2440 | /** |
| 2441 | * Trigger the given event on the given element with the given detail. |
no test coverage detected