ember-cli-spinkits

2.0.0 • Public • Published

<<<<<<< HEAD

ember-cli-spinkit

Add SpinKit loading spinners to your ember-cli project

Install

ember install ember-cli-spinkit

Usage

ember generate spinkit-<name of spinner>

For example:

ember generate spinkit-double-bounce

Available Spinners (Demo)

  • rotating-plane
  • fading-circle
  • folding-cube
  • double-bounce
  • wave
  • wandering-cubes
  • pulse
  • chasing-dots
  • three-bounce
  • circle
  • cube-grid

In your template, presumably your loading.hbs, include the spinner by adding

{{spinkit-double-bounce}}

Note: You can have multiple spinners in your project! You are not limited to one spinner. Simply call ember generate spinkit-<name of spinner> multiple times.

Color

By default the spinner color is #333.

Check the SpinKit project or use your browser's inspector to see which CSS classes you should overwrite.

Alternatively, change the color directly in the generated file vendor/ember-cli-spinkit/styles/spinkit-<name of spinner>.css.

my-addon

[Short description of the addon.]

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above

Installation

ember install my-addon

Usage

[Longer description of how to use the addon in apps.]

License

This project is licensed under the MIT License.

1b0faac... message

Package Sidebar

Install

npm i ember-cli-spinkits

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

33.6 kB

Total Files

39

Last publish

Collaborators

  • systembug