Skip to main content
Module

x/tui/src/components/view.ts

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
import * as tui from "https://deno.land/x/tui@1.3.4/src/components/view.ts";

Classes

Component that can be assigned to other component's view property. This allows components to be drawn independently from other components.

Interfaces

Interface describing object that disguises itself as {Canvas} and intercepts draw function and rectangle boundaries

Interface describing object that disguises itself as {Tui} and replaces canvas with {FakeCanvas}

Interface defining object that {ViewComponent}'s constructor can interpret

Complementary interface defining what's accessible in {ViewComponent} class in addition to {ViewComponentOptions}

Type Aliases

Implementation for {ViewComponent} class