Stay organized with collections Save and categorize content based on your preferences.

blockly > blockRendering > RenderInfo > shouldStartNewRow_

blockRendering.RenderInfo.shouldStartNewRow_() method

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

Signature:

protected shouldStartNewRow_(input: Input, lastInput?: Input): boolean;

Parameters

Parameter Type Description
input Input The first input to consider
lastInput Input (Optional) The input that follows.

Returns:

boolean

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