Skip to main content

blockly > inputs > StatementInput > (constructor)

inputs.StatementInput.(constructor)

Constructs a new instance of the StatementInput class

Signature:

constructor(name: string, block: Block);

Parameters

Parameter

Type

Description

name

string

Language-neutral identifier which may used to find this input again.

block

Block

The block containing this input.