We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a9c93 commit cb29441Copy full SHA for cb29441
inst/htmlwidgets/plotly.js
@@ -303,7 +303,7 @@ HTMLWidgets.widget({
303
304
// send user input event data to dashR
305
// TODO: make this more consistent with Graph() props?
306
- if (instance.setProps) {
+ if (typeof instance.setProps === "function") {
307
graphDiv.on('plotly_relayout', function(d) {
308
instance.setProps({"input_plotly_relayout": d});
309
});
0 commit comments