MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / getSize

Function getSize

static/plugins/bootstrap/js/bootstrap.bundle.js:1855–1857  ·  view source on GitHub ↗
(axis, body, html, computedStyle)

Source from the content-addressed store, hash-verified

1853 }
1854
1855 function getSize(axis, body, html, computedStyle) {
1856 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);
1857 }
1858
1859 function getWindowSizes(document) {
1860 var body = document.body;

Callers 1

getWindowSizesFunction · 0.85

Calls 1

isIEFunction · 0.85

Tested by

no test coverage detected