diff --git a/README.md b/README.md index c1a5b98..266c0ec 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,7 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot | `onSliderChange` | `Function` | `plotly_sliderchange` | | `onSliderEnd` | `Function` | `plotly_sliderend` | | `onSliderStart` | `Function` | `plotly_sliderstart` | +| `onSunburstClick` | `Function` | `plotly_sunburstclick` | | `onTransitioning` | `Function` | `plotly_transitioning` | | `onTransitionInterrupted` | `Function` | `plotly_transitioninterrupted` | | `onUnhover` | `Function` | `plotly_unhover` | diff --git a/src/factory.js b/src/factory.js index 43a4b2e..fa2ff58 100644 --- a/src/factory.js +++ b/src/factory.js @@ -30,6 +30,7 @@ const eventNames = [ 'SliderChange', 'SliderEnd', 'SliderStart', + 'SunburstClick', 'Transitioning', 'TransitionInterrupted', 'Unhover',