MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / focus

Method focus

src/Input.js:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 focus() {
42 if (this.ref) {
43 this.ref.focus();
44 }
45 }
46
47 render() {
48 let {

Callers 14

handleKeyDownMethod · 0.80
componentDidUpdateFunction · 0.80
handleTabFunction · 0.80
setFocusFunction · 0.80
trapFocusFunction · 0.80
manageFocusAfterCloseFunction · 0.80
handleTabFunction · 0.80
setFocusFunction · 0.80
trapFocusFunction · 0.80
manageFocusAfterCloseFunction · 0.80
Dropdown.spec.jsFile · 0.80
Modal.spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected