MCPcopy Create free account
hub / github.com/ElemeFE/element-react / componentDidMount

Method componentDidMount

src/table/TableLayout.jsx:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 componentDidMount() {
41 this.el = this.table.el;
42
43 this.scheduleLayout();
44 addResizeListener(this.el, this.resizeListener)
45 }
46
47 componentWillReceiveProps(nextProps: TableLayoutProps) {
48 const preHeight = this.props.height || this.props.maxHeight;

Callers

nothing calls this directly

Calls 2

scheduleLayoutMethod · 0.95
addResizeListenerFunction · 0.90

Tested by

no test coverage detected