Skip to main content
Module

x/lume/deps/cli.ts>SpinnerOptions

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface SpinnerOptions
import { type SpinnerOptions } from "https://deno.land/x/lume@v2.1.4/deps/cli.ts";

Options for Spinner.

Properties

optional
spinner: string[] = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]

The sequence of characters to be iterated through for animation.

optional
message: string

The message to display next to the spinner. This can be changed while the spinner is active.

optional
interval: number = 75

The time between each frame of the spinner in milliseconds.

optional
color: Color

The color of the spinner. Defaults to the default terminal color. This can be changed while the spinner is active.