mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Add info to annotation
This commit is contained in:
@@ -605,11 +605,14 @@ Blockly.Connection.prototype.setCheck = function(check) {
|
||||
|
||||
/**
|
||||
* Get a connection's compatibility.
|
||||
* @return {Array} List of compatible value types.
|
||||
* @return {Array} List of compatible value types. Null if
|
||||
* all types are compatible.
|
||||
* @public
|
||||
*/
|
||||
Blockly.Connection.prototype.getCheck = function() {
|
||||
return this.check_;
|
||||
};
|
||||
|
||||
/**
|
||||
* Change a connection's shadow block.
|
||||
* @param {Element} shadow DOM representation of a block or null.
|
||||
|
||||
Reference in New Issue
Block a user