Module

x/cliffy/table/layout.ts>TableLayout#renderCellValue

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method TableLayout.prototype.renderCellValue
import { TableLayout } from "https://dotland.deno.dev/x/cliffy@v0.22.2/table/layout.ts";

Render specified length of cell. Returns the rendered value and a new cell with the rest value.

Parameters

cell: Cell

Cell to render.

maxLength: number

Max length of content to render.

Returns

{ current: string; next: Cell; }