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

x/netzo/deps/wait/mod.ts>Spinner

Deno-powered framework for building business web apps
Go to Latest
class Spinner
import { Spinner } from "https://deno.land/x/netzo@0.3.91/deps/wait/mod.ts";

Constructors

new
Spinner(opts: Required<SpinnerOptions>)

Properties

color: string | ColorFunction
indent: number
interval: number
isSpinning: boolean
prefix: string
spinner: string | SpinnerAnimation
text: string

Methods

private
write(data: string)
clear(): void
fail(text?: string)
frame(): string
info(text?: string)
render(): void
stopAndPersist(options?: PersistOptions)
succeed(text?: string)
updateLines(): void
warn(text?: string)