Home / Function/ blur() — react Function Reference

blur() — react Function Reference

Architecture documentation for the blur() function in ReactDOMInput-test.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  c43fe588_8b65_feb5_7aa2_daa5282e73b9["blur()"]
  eee21e17_a72b_5d13_0350_2770b115bcf7["ControlledInputs"]
  c43fe588_8b65_feb5_7aa2_daa5282e73b9 -->|defined in| eee21e17_a72b_5d13_0350_2770b115bcf7
  e615e3bb_b80b_83af_46e2_3f666f89a1eb["render()"]
  e615e3bb_b80b_83af_46e2_3f666f89a1eb -->|calls| c43fe588_8b65_feb5_7aa2_daa5282e73b9
  style c43fe588_8b65_feb5_7aa2_daa5282e73b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-dom/src/__tests__/ReactDOMInput-test.js lines 259–264

      blur(currentValue) {
        this.switchedFocus = true;
        // currentValue should be 'giraffe' here because we should not have
        // restored it on the target yet.
        this.setState({value: currentValue});
      }

Domain

Subdomains

Called By

Frequently Asked Questions

What does blur() do?
blur() is a function in the react codebase, defined in packages/react-dom/src/__tests__/ReactDOMInput-test.js.
Where is blur() defined?
blur() is defined in packages/react-dom/src/__tests__/ReactDOMInput-test.js at line 259.
What calls blur()?
blur() is called by 1 function(s): render.

Analyze Your Own Codebase

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

Try Supermodel Free