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

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

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class Spinner
import { Spinner } from "https://deno.land/x/netzo@0.4.78/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)