3.0.4 • Published 4 years ago

@uxland/uxl-progress-indicator v3.0.4

Weekly downloads
21
License
Apache-2.0
Repository
github
Last release
4 years ago

\<uxl-progress-indicator>

A progress indicator component

Build Status npm version

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Description

<uxl-progress-indicator> is a component that provides two types of material design based progress indicators with optional message:

  • Circular spinner:
  • Bouncing balls:

Options

If you want to personalize, you can use options. These options are typed as UxlProgressIndicatorOptions

  1. type: String Specifies the spinner type

    Possible values: "spinner", "bouncing"

    Default value: "spinner"

  2. text: String Specifies the message of spinner

    Default value: undefined

  3. position: String Specifies the position between the spinner and the message

    Possible values: "vertical", "horizontal", "vertical-reverse", "horizontal-reverse"

    Default value: "vertical"

  4. fit: Boolean Specifies whether the spiner's position is centered fixed in the screen or not

    Possible values: "true" or "false"

    Default value: "false"

###Custom CSS properties

<uxl-progress-indicator> provides the following custom properties for styling:

Custom propertyDescriptionDefault
--uxl-progress-indicator-spinner-width:spinner width30px
--uxl-progress-indicator-spinner-height:spinner height30px
--uxl-progress-indicator-spinner-strokespinner stroke3px
--uxl-progress-indicator-colorColor of the spinner#009688
--uxl-progress-indicator-background-colorbackground colortransparent
--uxl-progress-indicator-bouncing-ball-widthbouncing balls width10px
--uxl-progress-indicator-bouncing-ball-heightbouncing balls width10px
--uxl-progress-indicator-title-colorfont color for messagergba(0, 0, 0, 0.87)
--uxl-progress-indicator-title-sizefont size for message1rem
--uxl-progress-indicator-title-weightfont weight for messagelight

###Demo

You can see the demos:

url: localhost/components/uxl-progress-indicator/demo/index.html

3.0.4

4 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

3.0.0-beta.2

5 years ago

3.0.0-beta.1

5 years ago

2.0.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago