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

Method close

src/Datepicker/Datetime.js:135–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 close () {
136 this.setState({ active: false });
137 this.unbindClickAway();
138 if (this.refs.clock) {
139 this.refs.clock.close();
140 }
141 setTimeout(() => {
142 if (this.state.active === false) {
143 this.refs.datepicker.style.display = 'none';
144 }
145 }, 500);
146 }
147
148 changeDate (obj) {
149 let c = this.state.current,

Callers 7

dayChangeMethod · 0.95
handleFunction · 0.80
clearFilterFunction · 0.80
onFilterFunction · 0.80
FormBuilder.jsFile · 0.80
multOpenMethod · 0.80
renderMethod · 0.80

Calls 1

unbindClickAwayMethod · 0.80

Tested by

no test coverage detected