MCPcopy Create free account
hub / github.com/breck7/scroll / tweenValue

Function tweenValue

external/.d3.js:4415–4426  ·  view source on GitHub ↗
(transition, name, value)

Source from the content-addressed store, hash-verified

4413}
4414
4415function tweenValue(transition, name, value) {
4416 var id = transition._id;
4417
4418 transition.each(function() {
4419 var schedule = set(this, id);
4420 (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);
4421 });
4422
4423 return function(node) {
4424 return get(node, id).value[name];
4425 };
4426}
4427
4428function interpolate$1(a, b) {
4429 var c;

Callers 3

transition_attrFunction · 0.85
transition_styleFunction · 0.85
transition_textFunction · 0.85

Calls 3

setFunction · 0.85
eachMethod · 0.80
getFunction · 0.70

Tested by

no test coverage detected