All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.transition.delay.js Maven / Gradle / Ivy

import "../selection/each";
import "transition";

d3_transitionPrototype.delay = function(value) {
  var id = this.id, ns = this.namespace;
  if (arguments.length < 1) return this.node()[ns][id].delay;
  return d3_selection_each(this, typeof value === "function"
      ? function(node, i, j) { node[ns][id].delay = +value.call(node, node.__data__, i, j); }
      : (value = +value, function(node) { node[ns][id].delay = value; }));
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy