(item: HTMLIonItemElement)
| 387 | |
| 388 | /** Focus the internal button of the ion-item */ |
| 389 | const focusItem = (item: HTMLIonItemElement) => { |
| 390 | const root = getElementRoot(item); |
| 391 | const button = root.querySelector('button'); |
| 392 | |
| 393 | if (button) { |
| 394 | raf(() => button.focus()); |
| 395 | } |
| 396 | }; |
| 397 | |
| 398 | /** |
| 399 | * Returns `true` if `el` has been designated |
no test coverage detected