Skip to main content
Module

std/cli/mod.ts>Spinner

Deno standard library
Go to Latest
class Spinner
import { Spinner } from "https://deno.land/std@0.216.0/cli/mod.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
message: string

Methods

Starts the spinner.

Stops the spinner.