MCPcopy Index your code
hub / github.com/plotly/plotly.js / beforeResize

Function beforeResize

test/jasmine/tests/config_test.js:67–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 gd.style.height = containerHeightBeforePlot + 'px';
66
67 function beforeResize() {
68 checkLayoutSize(layoutWidth, layoutHeight);
69 if(!autosize) compareLayoutAndFullLayout(gd);
70
71 gd.style.width = containerWidthBeforeRelayout + 'px';
72 gd.style.height = containerHeightBeforeRelayout + 'px';
73 }
74
75 function afterResize() {
76 checkLayoutSize(relayoutWidth, relayoutHeight);

Callers 1

testAutosizeFunction · 0.85

Calls 2

checkLayoutSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…