Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material/progress-indicator

Package Overview
Dependencies
Maintainers
14
Versions
1471
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/progress-indicator

The Material Components for the web interface for Progress Indicators

  • 15.0.0-canary.446734f27.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
637K
decreased by-22.61%
Maintainers
14
Weekly downloads
 
Created
Source

Progress Indicators

The MDC Progress Indicator component exposes common foundation and component interfaces for a progress indicator. Components that implement these interfaces include linear progress and circular progress. Material Design progress & activity requirements.

Installation

npm install @material/progress-indicator

Basic Usage

MDCProgressIndicatorFoundation API

MDC Progress Indicator Foundation exposes the following methods:

Method SignatureDescription
setDeterminate(value: boolean) => voidToggles the component between the determinate and indeterminate state.
isDeterminate() => booleanWhether or not the component is in determinate state.
setProgress(value: number) => voidSets the progress to this value. Value should be between [0, 1].
getProgress() => numberThe current progress value in the interval [0,1].
open() => voidPuts the component in the open state.
close() => voidPuts the component in the closed state.
isClosed() => booleanWhether or not the progress indicator is closed.

MDCProgressIndicator Component API

MDC Progress Indicator exposes the following API:

Method SignatureDescription
determinate: booleanWhether the indicator is in the determinate or indeterminate state.
progress: numberThe current progress. Value should be between [0, 1].
open() => voidPuts the component in the open state.
close() => voidPuts the component in the closed state.

FAQs

Package last updated on 30 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc