Skip to main content
Module

x/tui/src/components/frame.ts>FrameComponent

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
class FrameComponent
import { FrameComponent } from "https://deno.land/x/tui@1.3.4/src/components/frame.ts";

Component that creates frame border either around a component or within rectangle depending on what's specified

Constructors

new
FrameComponent(options: FrameComponentOptions)

Type Parameters

optional
EventMap extends EventRecord = Record<never, never>

Properties

component: Component | undefined
framePieces: "sharp" | "rounded" | FramePieceType
rectangle: Rectangle

Methods

draw(): void