(el, event, handler, options)
| 120 | * @param {Object} [options] - 事件选项 |
| 121 | */ |
| 122 | export const on = (el, event, handler, options) => { |
| 123 | el?.addEventListener(event, handler, options); |
| 124 | }; |
| 125 | |
| 126 | /** |
| 127 | * 移除元素事件监听 |
no outgoing calls
no test coverage detected