Home > blockly > FieldNumber > setMax
FieldNumber.setMax() method
Sets the maximum value this field can contain. Updates the value to reflect.
Signature:
setMax(max: number | string | undefined | null): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| max | number | string | undefined | null | Maximum value. |
Returns:
void