MCPcopy Create free account
hub / github.com/dathlin/RemoteMonitor / toValue

Function toValue

WebApplication1/Scripts/popper.js:1584–1623  ·  view source on GitHub ↗

* Converts a string containing value + unit into a px value number * @function * @memberof {modifiers~offset} * @private * @argument {String} str - Value + unit string * @argument {String} measurement - `height` or `width` * @argument {Object} popperOffsets * @argument {Object} referenceOffse

(str, measurement, popperOffsets, referenceOffsets)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseOffsetFunction · 0.70

Calls 1

getClientRectFunction · 0.70

Tested by

no test coverage detected