blockly > blockRendering > RenderInfo > addInput_

blockRendering.RenderInfo.addInput_() method

Add an input element to the active row, if needed, and record the type of the input on the row.

Signature:

protected addInput_(input: Input, activeRow: Row): void;

Parameters

Parameter Type Description
input Input The input to record information about.
activeRow Row The row that is currently being populated.

Returns:

void