Skip to main content

Home > blockly > inputs > Input > (constructor)

inputs.Input.(constructor)

Constructs a new instance of the Input class

Signature:

constructor(name: string, sourceBlock: Block);

Parameters

ParameterTypeDescription
namestringLanguage-neutral identifier which may used to find this input again.
sourceBlockBlockThe block containing this input.