DirectOptions
Properties
A function to be called internally to advance your fake timers (if applicable)
When using userEvent.upload, automatically discard files that don't match an accept property if it exists.
We intend to automatically apply modifier keys for printable characters in the future. I.e. A implying {Shift>}a{/Shift} if caps lock is not active.
An array of keyboard keys the keyboard device consists of.
The pointer API includes a check if an element has or inherits pointer-events: none. This check is known to be expensive and very expensive when checking deeply nested nodes. This option determines how often the pointer related APIs perform the check.
An array of available pointer keys.
userEvent.type automatically releases any keys still pressed at the end of the call. This option allows to opt out of this feature.
Write selected data to Clipboard API when a cut or copy is triggered.