diff --git a/core/flyout_button.js b/core/flyout_button.js index 85a64f2e2..d57d13aaf 100644 --- a/core/flyout_button.js +++ b/core/flyout_button.js @@ -85,6 +85,12 @@ Blockly.FlyoutButton = function(workspace, targetWorkspace, json, isLabel) { * @private */ this.onMouseUpWrapper_ = null; + + /** + * The JSON specifying the label / button. + * @type {!Blockly.utils.toolbox.Button|!Blockly.utils.toolbox.Label} + */ + this.info = json; }; /**