blockly > Procedures > IProcedureModel > insertParameter
Procedures.IProcedureModel.insertParameter() method
Inserts a parameter into the list of parameters.
To move a parameter, first delete it, and then re-insert.
Signature:
insertParameter(parameterModel: IParameterModel, index: number): this;
Parameters
Parameter | Type | Description |
---|---|---|
parameterModel | IParameterModel | |
index | number |
Returns:
this