Skip to content

Marquee

widgetsdisplay

Marquee component

Installation

$ bunx termuijs add marquee

Copies the source into src/components/marquee/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { Marquee } from '@termuijs/widgets'
ts
new Marquee(text: string, style: Partial<Style> = {}, opts: MarqueeOptions = {})

API Reference

Marquee

PropTypeRequiredDescription
textstringrequired
directionMarqueeDirectionoptional
speednumberoptional
gapnumberoptional
#display#marquee