MCPcopy
hub / github.com/deepch/RTSPtoWebRTC / getClientRect

Function getClientRect

web/static/js/bootstrap.bundle.js:1922–1927  ·  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

1920 * @returns {Object} ClientRect like output
1921 */
1922 function getClientRect(offsets) {
1923 return _extends({}, offsets, {
1924 right: offsets.left + offsets.width,
1925 bottom: offsets.top + offsets.height
1926 });
1927 }
1928
1929 /**
1930 * Get bounding client rect of given element

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected