ember-cli-mdc-linear-progress

3.0.8 • Public • Published

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}} />

Package Sidebar

Install

npm i ember-cli-mdc-linear-progress

Weekly Downloads

67

Version

3.0.8

License

Apache-2.0

Unpacked Size

18.9 kB

Total Files

14

Last publish

Collaborators

  • onehilltech