blockly > IIcon > onLocationChange
IIcon.onLocationChange() method
Notifies the icon that it has changed locations.
Signature:
onLocationChange(blockOrigin: Coordinate): void;
Parameters
Parameter | Type | Description |
---|---|---|
blockOrigin | Coordinate | The location of this icon's block's top-start corner in workspace coordinates. |
Returns:
void