blockly > Input > setAlign

Input.setAlign() method

Change the alignment of the connection's field(s).

Signature:

setAlign(align: Align): Input;

Parameters

Parameter Type Description
align Align One of the values of Align. In RTL mode directions are reversed, and Align.RIGHT aligns to the left.

Returns:

Input

The input being modified (to allow chaining).