blockly > FieldMultilineInput > setMaxLines
FieldMultilineInput.setMaxLines() method
Sets the maxLines config for this field.
Signature:
setMaxLines(maxLines: number): void;
Parameters
Parameter | Type | Description |
---|---|---|
maxLines | number | Defines the maximum number of lines allowed, before scrolling functionality is enabled. |
Returns:
void