drag.js — react Source File
Architecture documentation for drag.js, a javascript file in the react codebase. 4 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 8ba3b810_4f97_fa8c_556c_4d21963c5fba["drag.js"] 14dde3c9_48ef_6e34_3667_978d06aff15d["TestCase.js"] 8ba3b810_4f97_fa8c_556c_4d21963c5fba --> 14dde3c9_48ef_6e34_3667_978d06aff15d e1e356f5_b085_dad5_a81f_4b4844381311["TestCase"] 8ba3b810_4f97_fa8c_556c_4d21963c5fba --> e1e356f5_b085_dad5_a81f_4b4844381311 cbf5ef00_28b9_2aea_2734_f190929feb5b["drag-box.js"] 8ba3b810_4f97_fa8c_556c_4d21963c5fba --> cbf5ef00_28b9_2aea_2734_f190929feb5b b024f756_c22f_e4ec_06c3_6633345febc9["DragBox"] 8ba3b810_4f97_fa8c_556c_4d21963c5fba --> b024f756_c22f_e4ec_06c3_6633345febc9 6916a448_5f93_bcc1_7bbd_d004d54840e9["index.js"] 6916a448_5f93_bcc1_7bbd_d004d54840e9 --> 8ba3b810_4f97_fa8c_556c_4d21963c5fba style 8ba3b810_4f97_fa8c_556c_4d21963c5fba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import TestCase from '../../TestCase';
import DragBox from './drag-box';
const React = window.React;
class Drag extends React.Component {
render() {
return (
<TestCase title="Drag" description="">
<TestCase.Steps>
<li>Drag the circle below with any pointer tool</li>
</TestCase.Steps>
<TestCase.ExpectedResult>
While dragging, the circle must have turn blue to indicate that a
pointer capture was received.
</TestCase.ExpectedResult>
<DragBox />
</TestCase>
);
}
}
export default Drag;
Domain
Subdomains
Classes
Dependencies
Source
Frequently Asked Questions
What does drag.js do?
drag.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
What does drag.js depend on?
drag.js imports 4 module(s): DragBox, TestCase, TestCase.js, drag-box.js.
What files import drag.js?
drag.js is imported by 1 file(s): index.js.
Where is drag.js in the architecture?
drag.js is located at fixtures/dom/src/components/fixtures/pointer-events/drag.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/dom/src/components/fixtures/pointer-events).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free