JumpingCursorTestCase Class — react Architecture
Architecture documentation for the JumpingCursorTestCase class in JumpingCursorTestCase.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD d7d21276_809f_41ab_c851_e45f3ad6336b["JumpingCursorTestCase"] 09f84da7_e060_f0e7_c644_30609f5d6cf9["JumpingCursorTestCase.js"] d7d21276_809f_41ab_c851_e45f3ad6336b -->|defined in| 09f84da7_e060_f0e7_c644_30609f5d6cf9 101ba310_ee81_8615_3ce1_d77653bbaa79["render()"] d7d21276_809f_41ab_c851_e45f3ad6336b -->|method| 101ba310_ee81_8615_3ce1_d77653bbaa79
Relationship Graph
Source Code
fixtures/dom/src/components/fixtures/email-inputs/JumpingCursorTestCase.js lines 5–37
class JumpingCursorTestCase extends React.Component {
state = {value: ''};
onChange = event => {
this.setState({value: event.target.value});
};
render() {
return (
<Fixture>
<div>{this.props.children}</div>
<div className="control-box">
<fieldset>
<legend>Controlled</legend>
<input
type="email"
value={this.state.value}
onChange={this.onChange}
/>
<span className="hint">
{' '}
Value: {JSON.stringify(this.state.value)}
</span>
</fieldset>
<fieldset>
<legend>Uncontrolled</legend>
<input type="email" defaultValue="" />
</fieldset>
</div>
</Fixture>
);
}
}
Domain
Source
Frequently Asked Questions
What is the JumpingCursorTestCase class?
JumpingCursorTestCase is a class in the react codebase, defined in fixtures/dom/src/components/fixtures/email-inputs/JumpingCursorTestCase.js.
Where is JumpingCursorTestCase defined?
JumpingCursorTestCase is defined in fixtures/dom/src/components/fixtures/email-inputs/JumpingCursorTestCase.js at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free