MCPcopy Create free account
hub / github.com/testing-library/user-event / tabOptions

Interface tabOptions

src/tab.ts:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31interface tabOptions {
32 shift?: boolean
33 focusTrap?: Document | Element
34}
35
36function tab({shift = false, focusTrap}: tabOptions = {}) {
37 const doc = focusTrap?.ownerDocument ?? document

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected