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

Function getClientRect

app/src/static/js/react-bootstrap.js:3403–3408  ·  view source on GitHub ↗

* Given element offsets, generate an output similar to getBoundingClientRect * @method * @memberof Popper.Utils * @argument {Object} offsets * @returns {Object} ClientRect like output

(offsets)

Source from the content-addressed store, hash-verified

3401
3402
3403function getClientRect(offsets) {
3404 return _extends({}, offsets, {
3405 right: offsets.left + offsets.width,
3406 bottom: offsets.top + offsets.height
3407 });
3408}
3409/**
3410 * Get bounding client rect of given element
3411 * @method

Callers 7

getBoundingClientRectFunction · 0.85
runModifiersFunction · 0.85
arrowFunction · 0.85
toValueFunction · 0.85
innerFunction · 0.85

Calls 1

_extendsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…