Home / File/ DOMEventNames.js — react Source File

DOMEventNames.js — react Source File

Architecture documentation for DOMEventNames.js, a javascript file in the react codebase. 2 imports, 16 dependents.

File javascript BabelCompiler 2 imports 16 dependents

Entity Profile

Dependency Diagram

graph LR
  4e9925e9_ca97_8d79_6ffa_a9347d262615["DOMEventNames.js"]
  03fd5196_cd1d_cabf_69f7_e4ce815e6bb9["getVendorPrefixedEventName.js"]
  4e9925e9_ca97_8d79_6ffa_a9347d262615 --> 03fd5196_cd1d_cabf_69f7_e4ce815e6bb9
  e38b282e_6f61_7873_5880_18770843b001["getVendorPrefixedEventName"]
  4e9925e9_ca97_8d79_6ffa_a9347d262615 --> e38b282e_6f61_7873_5880_18770843b001
  cfeccfd9_d509_de2e_b7f5_99190c395b57["ReactDOMEventHandle.js"]
  cfeccfd9_d509_de2e_b7f5_99190c395b57 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  d908643f_a970_7fa5_64a4_010ab47f44ac["ReactDOMEventHandleTypes.js"]
  d908643f_a970_7fa5_64a4_010ab47f44ac --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  9c694103_7f39_88d0_6b4d_f9b2ffed5731["ReactFiberConfigDOM.js"]
  9c694103_7f39_88d0_6b4d_f9b2ffed5731 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  658d2068_647d_6a17_8bb9_0fcce1aac5fc["DOMEventProperties.js"]
  658d2068_647d_6a17_8bb9_0fcce1aac5fc --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  816b54e5_c63c_f8b2_68e8_0c637e281f03["DOMPluginEventSystem.js"]
  816b54e5_c63c_f8b2_68e8_0c637e281f03 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  e1c602b7_5988_fa00_bb9f_269d66d38107["EventRegistry.js"]
  e1c602b7_5988_fa00_bb9f_269d66d38107 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  59469541_eb24_2e4d_9b1d_8719abe8ae49["ReactDOMEventListener.js"]
  59469541_eb24_2e4d_9b1d_8719abe8ae49 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  2d4946a3_3487_598a_390d_fcf4897abb9b["ReactDOMEventReplaying.js"]
  2d4946a3_3487_598a_390d_fcf4897abb9b --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  3632e1a4_9237_b583_7260_c67d392d0405["ReactSyntheticEventType.js"]
  3632e1a4_9237_b583_7260_c67d392d0405 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  a235366c_1abe_162c_b9bf_7fbbfb597584["BeforeInputEventPlugin.js"]
  a235366c_1abe_162c_b9bf_7fbbfb597584 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  ddc0fe5b_559e_c0f1_b50a_2b1305b3c3d7["ChangeEventPlugin.js"]
  ddc0fe5b_559e_c0f1_b50a_2b1305b3c3d7 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  5c7e27b3_eb27_811d_04b8_b882f63e7494["EnterLeaveEventPlugin.js"]
  5c7e27b3_eb27_811d_04b8_b882f63e7494 --> 4e9925e9_ca97_8d79_6ffa_a9347d262615
  style 4e9925e9_ca97_8d79_6ffa_a9347d262615 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 */

import getVendorPrefixedEventName from './getVendorPrefixedEventName';

export type DOMEventName =
  | 'abort'
  | 'afterblur' // Not a real event. This is used by event experiments.
  // These are vendor-prefixed so you should use the exported constants instead:
  // 'animationiteration' |
  // 'animationend |
  // 'animationstart' |
  | 'beforeblur' // Not a real event. This is used by event experiments.
  | 'beforeinput'
  | 'beforetoggle'
  | 'blur'
  | 'canplay'
  | 'canplaythrough'
  | 'cancel'
  | 'change'
  | 'click'
  | 'close'
  | 'compositionend'
  | 'compositionstart'
  | 'compositionupdate'
  | 'contextmenu'
  | 'copy'
  | 'cut'
  | 'dblclick'
  | 'auxclick'
  | 'drag'
  | 'dragend'
  | 'dragenter'
  | 'dragexit'
  | 'dragleave'
  | 'dragover'
  | 'dragstart'
  | 'drop'
  | 'durationchange'
  | 'emptied'
  | 'encrypted'
  | 'ended'
  | 'error'
  | 'focus'
  | 'focusin'
  | 'focusout'
  | 'fullscreenchange'
  | 'gotpointercapture'
  | 'hashchange'
  | 'input'
  | 'invalid'
  | 'keydown'
  | 'keypress'
  | 'keyup'
// ... (72 more lines)

Domain

Frequently Asked Questions

What does DOMEventNames.js do?
DOMEventNames.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does DOMEventNames.js depend on?
DOMEventNames.js imports 2 module(s): getVendorPrefixedEventName, getVendorPrefixedEventName.js.
What files import DOMEventNames.js?
DOMEventNames.js is imported by 16 file(s): BeforeInputEventPlugin.js, ChangeEventPlugin.js, DOMEventProperties.js, DOMPluginEventSystem.js, EnterLeaveEventPlugin.js, EventRegistry.js, FormActionEventPlugin.js, ReactDOMEventHandle.js, and 8 more.
Where is DOMEventNames.js in the architecture?
DOMEventNames.js is located at packages/react-dom-bindings/src/events/DOMEventNames.js (domain: BabelCompiler, directory: packages/react-dom-bindings/src/events).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free