Skip to content

Commit dc4f6e6

Browse files
committed
Merge branch 'master' of github.com:plotly/angular-plotly.js
2 parents 0eee7a5 + 5f47b59 commit dc4f6e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot
155155
| `(hover)` | `Function` | `plotly_hover` | |
156156
| `(legendClick)` | `Function` | `plotly_legendclick` | |
157157
| `(legendDoubleClick)` | `Function` | `plotly_legenddoubleclick` | |
158+
| `(react)` | `Function` | `plotly_react` | |
158159
| `(relayout)` | `Function` | `plotly_relayout` | |
159160
| `(restyle)` | `Function` | `plotly_restyle` | |
160161
| `(redraw)` | `Function` | `plotly_redraw` | |

src/app/shared/plot/plot.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export class PlotComponent implements OnInit, OnChanges, OnDestroy, DoCheck {
7474
@Output() hover = new EventEmitter();
7575
@Output() legendClick = new EventEmitter();
7676
@Output() legendDoubleClick = new EventEmitter();
77+
@Output() react = new EventEmitter();
7778
@Output() relayout = new EventEmitter();
7879
@Output() restyle = new EventEmitter();
7980
@Output() redraw = new EventEmitter();
@@ -91,7 +92,7 @@ export class PlotComponent implements OnInit, OnChanges, OnDestroy, DoCheck {
9192

9293
public eventNames = ['afterExport', 'afterPlot', 'animated', 'animatingFrame', 'animationInterrupted', 'autoSize',
9394
'beforeExport', 'buttonClicked', 'clickAnnotation', 'deselect', 'doubleClick', 'framework', 'hover',
94-
'legendClick', 'legendDoubleClick', 'relayout', 'restyle', 'redraw', 'selected', 'selecting', 'sliderChange',
95+
'legendClick', 'legendDoubleClick', 'react', 'relayout', 'restyle', 'redraw', 'selected', 'selecting', 'sliderChange',
9596
'sliderEnd', 'sliderStart', 'transitioning', 'transitionInterrupted', 'unhover', 'relayouting', 'treemapclick',
9697
'sunburstclick'];
9798

0 commit comments

Comments
 (0)