Skip to main content
Module

x/cliffy/mod.ts>Row

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Row
extends Array<T>
Re-export
import { Row } from "https://deno.land/x/cliffy@v0.24.2/mod.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.