blockly > Procedures > IProcedureMap > add

Procedures.IProcedureMap.add() method

Adds the given ProcedureModel to the map of procedure models, so that blocks can find it.

Signature:

add(proc: IProcedureModel): this;

Parameters

Parameter Type Description
proc IProcedureModel

Returns:

this