Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tui/src/component.ts

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

Classes

Base Component that should be used as base for creating other components

Component that definitely has it's rectangle set

Interfaces

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

Interface defining what's accessible in {Component} class

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

Type Aliases

Type defining any {Component}, even inherited ones

Default EventMap that every component should use

Implementation for {Component} class

Interactivity states that components should use