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

Method scheduleLayout

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

Source from the content-addressed store, hash-verified

96 };
97 }
98 scheduleLayout() {
99 this.setState(this.caculateWidth(), () => {
100 this.updateHeight();
101 this.updateScrollY();
102 });
103 }
104
105 // horizontal direction layout
106 caculateWidth(): Object {

Callers 4

constructorMethod · 0.95
componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
handleMouseUpMethod · 0.80

Calls 3

caculateWidthMethod · 0.95
updateHeightMethod · 0.95
updateScrollYMethod · 0.95

Tested by

no test coverage detected