* Gets the next available column. * * @param cols list of columns * @param i index of dom element * * @return {*} next available column * @private
(cols, i)
| 140 | * @private |
| 141 | */ |
| 142 | nextCol (cols, i) { |
| 143 | if (this.useMin) { |
| 144 | return getMin(cols); |
| 145 | } |
| 146 | |
| 147 | return cols[i % cols.length]; |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * Positions each item in the grid, based |