Skip to content

textmode.js / TextmodeGrid / cols

Accessor: cols ​

Get Signature ​

ts
get cols(): number;

Number of columns in the grid.

Returns ​

number

Example ​

Set Signature ​

ts
set cols(newCols): void;

Set the number of columns and lock grid sizing until responsive() is called.

Parameters ​

ParameterType
newColsnumber

Returns ​

void

Example ​