blockly > Input > (constructor)
Input.(constructor)
Constructs a new instance of the Input
class
Signature:
constructor(name: string, sourceBlock: Block);
Parameters
Parameter | Type | Description |
---|---|---|
name | string | Language-neutral identifier which may used to find this input again. |
sourceBlock | Block | The block containing this input. |