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