MCPcopy
hub / github.com/halilb/react-native-textinput-effects / _onBlur

Method _onBlur

lib/BaseInput.js:83–92  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

81 }
82
83 _onBlur(event) {
84 if (!this.state.value) {
85 this._toggle(false);
86 }
87
88 const onBlur = this.props.onBlur;
89 if (onBlur) {
90 onBlur(event);
91 }
92 }
93
94 _onFocus(event) {
95 this._toggle(true);

Callers

nothing calls this directly

Calls 1

_toggleMethod · 0.95

Tested by

no test coverage detected