Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/cliffy.ts>Row

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class Row
extends Array<T>
Re-export
import { Row } from "https://deno.land/x/lume@v2.4.1/deps/cliffy.ts";

Row representation.

Type Parameters

optional
T extends ICell | undefined = ICell | undefined

Properties

protected
options: IRowOptions

Methods

align(direction: Direction, override?): this

Align row content.

border(enable: boolean, override?): this

Enable/disable cell border.

Clone row recursively with all options.

Get row alignment.

getBorder(): boolean

Check if row has border.

hasBorder(): boolean

Check if row or any child cell has border.

Static Methods

from<T extends ICell | undefined>(cells: IRow<T>): Row<T>

Create a new row. If cells is a row, all cells and options of the row will be copied to the new row.