Commit 76fbe7b8 authored by Mike Bostock's avatar Mike Bostock

Update d3-timer, d3-transition.

parent 65e0e182
...@@ -7,7 +7,7 @@ This branch contains the prerelease of D3 4.0. This API is unstable and may chan ...@@ -7,7 +7,7 @@ This branch contains the prerelease of D3 4.0. This API is unstable and may chan
If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://github.com/mbostock/d3/releases/latest). The released bundle supports AMD, CommonJS, and vanilla environments. Create a custom build using [Rollup](https://github.com/rollup/rollup) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org): If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://github.com/mbostock/d3/releases/latest). The released bundle supports AMD, CommonJS, and vanilla environments. Create a custom build using [Rollup](https://github.com/rollup/rollup) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org):
```html ```html
<script src="https://d3js.org/d3.v4.0.0-alpha.17.min.js"></script> <script src="https://d3js.org/d3.v4.0.0-alpha.18.min.js"></script>
``` ```
## API Reference ## API Reference
...@@ -851,8 +851,9 @@ An efficient queue for managing thousands of concurrent animations. ...@@ -851,8 +851,9 @@ An efficient queue for managing thousands of concurrent animations.
* [d3.timer](https://github.com/d3/d3-timer#timer) - schedule a new timer. * [d3.timer](https://github.com/d3/d3-timer#timer) - schedule a new timer.
* [*timer*.restart](https://github.com/d3/d3-timer#timer_restart) - reset the timer’s start time and callback. * [*timer*.restart](https://github.com/d3/d3-timer#timer_restart) - reset the timer’s start time and callback.
* [*timer*.stop](https://github.com/d3/d3-timer#timer_stop) - stop the timer. * [*timer*.stop](https://github.com/d3/d3-timer#timer_stop) - stop the timer.
* [d3.timerOnce](https://github.com/d3/d3-timer#timerOnce) - schedule a timer that stops on its first callback.
* [d3.timerFlush](https://github.com/d3/d3-timer#timerFlush) - immediately execute any eligible timers. * [d3.timerFlush](https://github.com/d3/d3-timer#timerFlush) - immediately execute any eligible timers.
* [d3.timeout](https://github.com/d3/d3-timer#timeout) - schedule a timer that stops on its first callback.
* [d3.interval](https://github.com/d3/d3-timer#interval) - schedule a timer that is called with a configurable period.
## [Transitions](https://github.com/d3/d3-transition) ## [Transitions](https://github.com/d3/d3-transition)
...@@ -880,6 +881,7 @@ Animated transitions for [selections](#selections). ...@@ -880,6 +881,7 @@ Animated transitions for [selections](#selections).
* [*transition*.delay](https://github.com/d3/d3-transition#transition_delay) - * [*transition*.delay](https://github.com/d3/d3-transition#transition_delay) -
* [*transition*.duration](https://github.com/d3/d3-transition#transition_duration) - * [*transition*.duration](https://github.com/d3/d3-transition#transition_duration) -
* [*transition*.ease](https://github.com/d3/d3-transition#transition_ease) - * [*transition*.ease](https://github.com/d3/d3-transition#transition_ease) -
* [d3.active](https://github.com/d3/d3-transition#active) -
## [Voronoi Diagrams](https://github.com/d3/d3-voronoi) ## [Voronoi Diagrams](https://github.com/d3/d3-voronoi)
......
...@@ -215,8 +215,9 @@ export { ...@@ -215,8 +215,9 @@ export {
export { export {
now, now,
timer, timer,
timerOnce, timerFlush,
timerFlush timeout,
interval
} from "d3-timer"; } from "d3-timer";
export { export {
......
{ {
"name": "d3", "name": "d3",
"version": "4.0.0-alpha.17", "version": "4.0.0-alpha.18",
"publishConfig": { "publishConfig": {
"tag": "next" "tag": "next"
}, },
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
"d3-shape": "0.5.1", "d3-shape": "0.5.1",
"d3-time": "0.2.1", "d3-time": "0.2.1",
"d3-time-format": "0.3.1", "d3-time-format": "0.3.1",
"d3-timer": "0.3.2", "d3-timer": "0.4.0",
"d3-transition": "0.1.1", "d3-transition": "0.1.2",
"d3-voronoi": "0.3.1" "d3-voronoi": "0.3.1"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment