blockly > blockRendering > RenderInfo > shouldStartNewRow_

blockRendering.RenderInfo.shouldStartNewRow_() method

Decide whether to start a new row between the two Blockly.Inputs.

Signature:

protected shouldStartNewRow_(currInput: Input, prevInput?: Input): boolean;

Parameters

Parameter Type Description
currInput Input The current input.
prevInput Input (Optional) The previous input.

Returns:

boolean

True if the current input should be rendered on a new row.