blockly > BlockSvg > removeInput
BlockSvg.removeInput() method
Remove an input from this block.
Signature:
removeInput(name: string, opt_quiet?: boolean): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the input. |
opt_quiet | boolean | (Optional) True to prevent error if input is not present. |
Returns:
boolean
True if operation succeeds, false if input is not present and opt_quiet is true
Exceptions
{Error} if the input is not present and opt_quiet is not true.