MCPcopy Create free account
hub / github.com/DTStack/molecule / componentDidMount

Method componentDidMount

src/components/select/select.tsx:79–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78
79 public componentDidMount() {
80 this.contextView.onHide(() => {
81 if (this.state.isOpen) {
82 this.setState({
83 isOpen: false,
84 });
85 }
86 });
87 }
88
89 public componentWillUnmount() {
90 this.contextView.dispose();

Callers

nothing calls this directly

Calls 2

onHideMethod · 0.80
setStateMethod · 0.80

Tested by

no test coverage detected