Animated dot loader for Meteor's famous-views.
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
README.md
fview-dotloader.coffee
package.js
versions.json

README.md

DotLoader - Animated dot loader

A plugin for famous-views.

This plugin brings animated dot loader in Blaze or Jade templating for Meteor.js.

This loader for famo.us is inspired from the work of LeXXiK and Tony Alves in Famousco.de.

demo: fview-dotloader

Usage

meteor add pierreeric:fview-dotloader

Template in Jade (Blaze works fine too 😉):

+StateModifier align='[.5, .5]' origin='[.5, .5]' size='[75, 75]'
  +DotLoader
    |

Available attributes and their defaults are:

  • height: 75
  • dotsNumber: 7
  • dotD: 10
  • delay: 150
  • isBgVisible: true
  • bgClass: 'dotloader-background'
  • dotClass: 'dotloader-dots'

And add the CSS:

.dotloader-background' {
  background-color: green;
  border-radius: 5px;
}
.dotloader-dots {
  background-color: yellow;
}