MCPcopy Index your code
hub / github.com/react/react / dragstart

Function dragstart

packages/dom-event-testing-library/domEvents.js:255–260  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

253}
254
255export function dragstart(payload) {
256 return createMouseEvent('dragstart', {
257 ...payload,
258 detail: 0,
259 });
260}
261
262export function focus({relatedTarget} = {}) {
263 return new FocusEvent('focus', {relatedTarget});

Callers

nothing calls this directly

Calls 1

createMouseEventFunction · 0.85

Tested by

no test coverage detected