Home > blockly > icons > WarningIcon > onLocationChange
icons.WarningIcon.onLocationChange() method
Updates the location of the icon's bubble if it is open.
Signature:
onLocationChange(blockOrigin: Coordinate): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| blockOrigin | Coordinate |
Returns:
void