MCPcopy Index your code
hub / github.com/docker/getting-started / getSize

Function getSize

app/src/static/js/react-bootstrap.js:3328–3330  ·  view source on GitHub ↗
(axis, body, html, computedStyle)

Source from the content-addressed store, hash-verified

3326}
3327
3328function getSize(axis, body, html, computedStyle) {
3329 return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);
3330}
3331
3332function getWindowSizes(document) {
3333 var body = document.body;

Callers 1

getWindowSizesFunction · 0.85

Calls 1

isIEFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…