ember-cli-mdc-linear-progress

ember-cli addon for @material/linear-progress.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ember-cli-mdc-linear-progress
4423.0.165 days ago6 years agoMinified + gzip package size for ember-cli-mdc-linear-progress in KB

Readme

ember-cli-mdc-linear-progress
ember-cli addon for @material/linear-progress.

Installation

ember install ember-cli-mdc-linear-progress

Components

This package contains the following top-level components.

MdcLinearProgress

Description

Add a linear progress component to the page.

Usage

<MdcLinearProgress @indeterminate={{[true|false]}}
                   @min={{min}}
                   @max={{max}}   
                   @value={{value}}
                   @buffer={{buffer}}
                   @reversed={{[true|false]}}
                   @closed={{[true|false]}} />

Attributes

  • indeterminate - Run the linear progress in indeterminate mode.
  • min - The min value of progress bar, default is 0.
  • max - The min value of progress bar, default is 1.
  • value - The current progress value, must be between @min and @max.
  • buffer - The current value of the buffer, must be @min 0 and @max.
  • reversed - Reverse the display of the linear progress.
  • closed - Hide the linear progress on the page.

Examples

<MdcLinearProgress @value={{0.66}} />

<MdcLinearProgress @min={{0}} @max={{100}} @value={{42}} @buffer={{89}} />

<MdcLinearProgress @indeterminate={{true}} @reversed={{true}} />