MCPcopy
hub / github.com/greensock/GSAP / _getPropNum

Function _getPropNum

esm/MotionPathPlugin.js:41–43  ·  view source on GitHub ↗
(target, prop, unit)

Source from the content-addressed store, hash-verified

39 return segment;
40},
41 _getPropNum = function _getPropNum(target, prop, unit) {
42 return parseFloat(target._gsap.get(target, prop, unit || "px")) || 0;
43},
44 _relativize = function _relativize(segment) {
45 var x = segment[0],
46 y = segment[1],

Callers 2

_segmentToRawPathFunction · 0.70
_alignFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…