mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
flyout button stores all the deserialized properties (#4107)
The properties can be useful for callbacks, see https://github.com/google/blockly/issues/4027#issuecomment-656325534
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user