MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / focusWindow

Function focusWindow

src/index.spec.js:3772–3774  ·  view source on GitHub ↗

* focusWindow triggers focus on the window

()

Source from the content-addressed store, hash-verified

3770 * focusWindow triggers focus on the window
3771 */
3772function focusWindow() {
3773 return fireEvent.focus(document.body, { bubbles: true });
3774}
3775
3776/**
3777 * createDtWithFiles creates a mock data transfer object that can be used for drop events

Callers 1

index.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…