UNPKG

d3

Version:

A small, free JavaScript library for manipulating documents based on data.

7 lines (6 loc) 282 B
d3_transitionPrototype.delay = function(value) { var groups = this; return groups.each(typeof value === "function" ? function(d, i, j) { groups[j][i].delay = +value.apply(this, arguments); } : (value = +value, function(d, i, j) { groups[j][i].delay = value; })); };