()
| 133 | } |
| 134 | |
| 135 | const close = () => { |
| 136 | clear() |
| 137 | modalElem.classList.remove("active") |
| 138 | document.body.style.overflow = "initial" |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * @param {() => (string | ImageModalRequest) | string | ImageModalRequest} optionsFactory |
no test coverage detected