(enteringEl: HTMLElement | undefined, leavingEl: HTMLElement | undefined)
| 213 | }; |
| 214 | |
| 215 | const fireDidEvents = (enteringEl: HTMLElement | undefined, leavingEl: HTMLElement | undefined) => { |
| 216 | lifecycle(enteringEl, LIFECYCLE_DID_ENTER); |
| 217 | lifecycle(leavingEl, LIFECYCLE_DID_LEAVE); |
| 218 | }; |
| 219 | |
| 220 | export const lifecycle = (el: HTMLElement | undefined, eventName: string) => { |
| 221 | if (el) { |
no test coverage detected