* Add an event listener to a specific event * @param {string} event Event name * @param {function} callback Callback function to execute when event triggers
(event, callback)
| 25 | * @param {function} callback Callback function to execute when event triggers |
| 26 | */ |
| 27 | on(event, callback){ |
| 28 | this.addEventListener(`checkout:${this.componentType}:${event}`, callback, false); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Call a callback when the value of the component changes. |
no outgoing calls
no test coverage detected