diff --git a/docs/src/routes/documentation/NodeGroup/README2.md b/docs/src/routes/documentation/NodeGroup/README2.md index 9b5717d..ea3b7a4 100644 --- a/docs/src/routes/documentation/NodeGroup/README2.md +++ b/docs/src/routes/documentation/NodeGroup/README2.md @@ -60,6 +60,19 @@ You can specify just the things you want to override on your timing key. The events are the same as those on D3 transitions. You can fire a function on transition start, end and interrupt. +```js +update={({ startAngle, endAngle }) => ({ + startAngle: [startAngle], + endAngle: [endAngle], + events: { + interrupt: () => { + console.log('interrupt!!!'); + }, + }, + timing: { duration: 500 }, +})} +``` + ### Interpolators Interpolators are inferred from what you specify in your transition object.