Skip to main content
Module

x/tui/mod.ts>LayoutOptions

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
interface LayoutOptions
Re-export
import { type LayoutOptions } from "https://deno.land/x/tui@2.1.4/mod.ts";

Type Parameters

T extends string

Properties

Position and size of Layout

pattern: T[] | Signal<T[]>

Arrangement of elements on layout

optional
gapX: number | Signal<number>

Horizontal gap between elements

optional
gapY: number | Signal<number>

Vertical gap between elements