Skip to main content
Module

x/lume/deps/cli.ts>Spinner

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class Spinner
import { Spinner } from "https://deno.land/x/lume@v2.1.2/deps/cli.ts";

A spinner that can be used to indicate that something is loading.

Constructors

new
Spinner(unnamed 0?: SpinnerOptions)

Creates a new spinner.

Properties

color: Color | undefined

Set the color of the spinner. This defaults to the default terminal color. This can be changed while the spinner is active.

message: string

The message to display next to the spinner.

Methods

Starts the spinner.

Stops the spinner.