0.0.6 • Published 8 years ago

ember-cli-ascii-spin v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

ember-cli-ascii-spin

This is a simple Ember addon with ASCII spinners.

Installation

$ ember install ember-cli-ascii-spin

Available spinners

I decided to use spinners from cli-spinners by @sindresorhus

spinners spinners

Usage

{{!-- Simple usage --}}
{{ascii-spinner spinner='dots' interval=100}}

{{!-- With custom --}}
{{ascii-spinner custom='⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈'}}

Options

  • spinner - default spinner default: dots,
  • interval - update interval (in milliseconds) default: 150,
  • custom - custom spinner definition (put spaces between each element) format: '⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈'