blockly > FieldNumber > setMin
FieldNumber.setMin() method
Sets the minimum value this field can contain. Updates the value to reflect.
Signature:
setMin(min: number | string | undefined | null): void;
Parameters
Parameter | Type | Description |
---|---|---|
min | number | string | undefined | null | Minimum value. |
Returns:
void