Docs (4.0.0)
class TestRenderer method

tryFocusElement

Attempts to set input focus to the specified element in the background.

tryFocusElement(element?: TestOutputElement): void

Notes

Parameters

  • element — The output element to focus

Related