Skip to main content
Module

x/scaffold/src/deps/cli.ts>Row

scaffold your next project with style and 💗
Latest
class Row
extends Array<T>
Re-export
import { Row } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.ts";

Row representation.

Type Parameters

optional
T extends ICell = ICell

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 = ICell>(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.