Skip to main content
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://deno.land/x/cliffy@v0.24.3/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; }