14.0.0 • Published 7 days ago

@material/progress-indicator v14.0.0

Weekly downloads
22,475
License
MIT
Repository
github
Last release
7 days ago

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 (WIP). 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.
setProgress(value: number) => voidSets the progress to this value. Value should be between 0, 1.
open() => voidPuts the component in the open state.
close() => voidPuts the component in the closed state.

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.
14.0.0

2 years ago

13.0.0

3 years ago

12.0.0

3 years ago

11.0.0

3 years ago

10.0.0

3 years ago

9.0.0

3 years ago

8.0.0

4 years ago

7.0.0

4 years ago

6.0.0

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago