MCPcopy Create free account
hub / github.com/Lobos/react-ui / hideOptions

Function hideOptions

src/Select.js:76–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 hideOptions () {
77 this.setState({ active: false });
78 this.unbindClickAway();
79 // use setTimeout instead of transitionEnd
80 setTimeout(() => {
81 if (this.state.active === false) {
82 this.refs.options.style.display = 'none';
83 }
84 }, 500);
85 }
86
87 getValue (sep=this.props.sep, data=this.state.data) {
88 let value = [],

Callers

nothing calls this directly

Calls 1

unbindClickAwayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…