()
| 151 | } |
| 152 | |
| 153 | function onfocus() { |
| 154 | if (preventUpdate) return; |
| 155 | |
| 156 | $input.addEventListener("keypress", handleKeypress); |
| 157 | $input.addEventListener("keydown", handleKeydown); |
| 158 | $input.addEventListener("blur", onblur); |
| 159 | $input.addEventListener("input", oninput); |
| 160 | window.addEventListener("resize", position); |
| 161 | ulAddEventListeners(); |
| 162 | app.append($ul); |
| 163 | position(); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Event listener for blur |
nothing calls this directly
no test coverage detected