class LabelComponent
implements LabelComponentImplementation
import { LabelComponent } from "https://deno.land/x/tui@1.3.4/src/components/mod.ts";
Component that displays text in given rectangle
When rectangle
's width
and/or height
properties are set to -1
then width
and/or height
are set dynamically depending on the text size.
Constructors
new
LabelComponent(options: LabelComponentOptions)Type Parameters
optional
EventMap extends EventRecord = Record<never, never>