* Focus trapping * @private
()
| 492 | * @private |
| 493 | */ |
| 494 | async forwardToLast() { |
| 495 | const lastFocusable = await getLastFocusableElement(this); |
| 496 | |
| 497 | if (lastFocusable) { |
| 498 | lastFocusable.focus(); |
| 499 | } else { |
| 500 | this._root.focus(); |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | /** |
| 505 | * Use this method to focus the element denoted by "initialFocus", if provided, |
nothing calls this directly
no test coverage detected
searching dependent graphs…