• Stars
    star
    189
  • Rank 197,437 (Top 5 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SpinKit (http://tobiasahlin.com/spinkit/) spinners for AngularJS

angular-spinkit

SpinKit (https://github.com/tobiasahlin/SpinKit) spinners for AngularJS

ng2-spin-kit - SpinKit spinners for AngularJS 2.x

https://github.com/WoltersKluwerPL/ng2-spin-kit

Usage

  1. Install with bower:
bower install angular-spinkit --save
  1. Add angular-spinkit.min.js and angular-spinkit.min.css to your main file (index.html)
<link rel="stylesheet" href="bower_components/angular-spinkit/build/angular-spinkit.min.css">
<script src="bower_components/angular-spinkit/build/angular-spinkit.min.js"></script>
  1. Set angular-spinkit as a dependency in your module
var myapp = angular.module('myapp', ['angular-spinkit'])
  1. Add rotating-plane-spinner, double-bounce-spinner, wave-spinner, wandering-cubes-spinner, pulse-spinner, chasing-dots-spinner or circle-spinner directive to the wanted element, example:
<rotating-plane-spinner></rotating-plane-spinner>
<double-bounce-spinner></double-bounce-spinner>
<wave-spinner></wave-spinner>
<wandering-cubes-spinner></wandering-cubes-spinner>
<pulse-spinner></pulse-spinner>
<chasing-dots-spinner></chasing-dots-spinner>
<circle-spinner></circle-spinner>
<three-bounce-spinner></three-bounce-spinner>
<cube-grid-spinner></cube-grid-spinner>
<word-press-spinner></word-press-spinner>
<fading-circle-spinner></fading-circle-spinner>
  1. If you want to show the spinner while an image is loading just use the 'spinkit-image-preloader' directive:
<!-- The directive tries to copy dimensions from inline styles and attributes to the spinner placeholder -->
<img width='800' height='600' alt='Your description' ng-src='http://example/img.jpg' spinkit-image-preloader='rotating-plane-spinner' />
<img style='width:800px; height:800px' alt='Your escription' ng-src='http://example/img.jpg' spinkit-image-preloader='rotating-plane-spinner' />

<!-- Also feel free to set width/height and other properties through CSS just configure your own css-class using the 'spinkit-image-preloader-class' attribute (or use css-class by default "spinner-wrapper") -->
<img alt='Your description' ng-src='http://example/img.jpg' spinkit-image-preloader='cube-grid-spinner' spinkit-image-preloader-class='rotating-plane-spinner' />

You can listen to the image loaded event.

// in controller
$scope.$on('angular-spinkit:imageLoaded');
  1. Add all your requests and ideas in the issues area or send us a pull request!

Example

You can check out this live example here: http://jsfiddle.net/Urigo/638AA/18/

More Repositories

1

angular-meteor

Angular and Meteor - The perfect stack
Dockerfile
2,362
star
2

graphql-cli

📟 Command line tool for common GraphQL development workflows
TypeScript
1,983
star
3

graphql-scalars

A library of custom GraphQL Scalars for creating precise type-safe GraphQL schemas.
TypeScript
1,835
star
4

awesome-meteor

A curated, community driven list of awesome Meteor packages, libraries, resources and shiny things
1,419
star
5

graphql-modules

Enterprise Grade Tooling For Your GraphQL Server
TypeScript
1,288
star
6

SOFA

The best way to create REST APIs - Generate RESTful APIs from your GraphQL Server
TypeScript
1,043
star
7

merge-graphql-schemas

A utility library to facilitate merging of modularized GraphQL schemas and resolver objects.
930
star
8

WhatsApp-Clone-Client-React

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial
TypeScript
610
star
9

WhatsApp-Clone-Tutorial

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial
530
star
10

WhatsApp-Clone-Server

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial
TypeScript
453
star
11

angular2-meteor

Angular 2.0 and Meteor - the perfect stack
298
star
12

meteor-ionic

Ionic framework packaged for Meteor.
JavaScript
216
star
13

Ionic-MeteorCLI-WhatsApp

WhatsApp Clone tutorial with Ionic 1.0 and Meteor CLI
JavaScript
206
star
14

meteor-client-bundler

https://blog.meteor.com/leverage-the-power-of-meteor-with-any-client-side-framework-bfb909141008
JavaScript
193
star
15

meteor-angular2.0-socially

CSS
170
star
16

Ionic2CLI-Meteor-WhatsApp

WhatsApp Clone tutorial with Ionic 2.0 CLI and Meteor Server
TypeScript
163
star
17

meteor-angular-socially

angular-meteor example and tutorial app
TypeScript
155
star
18

angular-meteor-base

TypeScript
131
star
19

meteor-rxjs

Exposing Mongo Cursor as RxJS Observable
TypeScript
120
star
20

WhatsApp-Clone-Client-Angular

TypeScript
73
star
21

Ionic2-MeteorCLI-WhatsApp

WhatsApp Clone tutorial with Ionic 2.0 and Meteor CLI
TypeScript
54
star
22

tortilla

The Framework for tutorials
TypeScript
50
star
23

typescript-node-es-modules-example

Latest Typescript and Node - as bare-bone as possible example app
TypeScript
34
star
24

leumi-leumicard-bank-data-scraper

Open bank data for Leumi bank and Leumi card credit card
JavaScript
28
star
25

apollo-local-state-examples

3 stages and approaches for using GraphQL for your local state
TypeScript
26
star
26

WhatsApp-Clone-GraphQL-Angular-Material

TypeScript
25
star
27

angular-meteor-docs

Source for http://www.angular-meteor.com/
TypeScript
25
star
28

IonicCLI-Meteor-WhatsApp

WhatsApp Clone tutorial with Ionic 1.0 CLI and Meteor Server
JavaScript
22
star
29

angular-embedly

JavaScript
19
star
30

angular2-meteor-accounts-ui

TypeScript
18
star
31

israeli-bank-scrapers-modern-schemas

A new architecture for Poalim bank scraper to hopefully merge into Israeli-bank-scrapers when they are ready
TypeScript
17
star
32

angular-blaze-template

Include Blaze templates in your angular-meteor application
JavaScript
15
star
33

whatsapp-textrepo-angularcli-express

13
star
34

angular-meteor-seed

Seed app for AngularJS and meteor
JavaScript
13
star
35

meteor-static-html-compiler

Compiles static HTML templates so you could import them from a module
TypeScript
10
star
36

angular2-meteor-auto-bootstrap

TypeScript
10
star
37

React-Meteor-Todo-app

JavaScript
10
star
38

Thinkster-MEAN-Tutorial-in-angular-meteor

angular-meteor version of Thinkster.io's mean-stack-tutorial
HTML
10
star
39

meteor-static-templates

Meteor plugin for importing static HTML templates
JavaScript
9
star
40

angular-meteor-auth

JavaScript
7
star
41

accounter-fullstack

TypeScript
7
star
42

tutorial-infrastructure

TypeScript
5
star
43

WhatsApp-Server-GraphQL-Live-RxJS-Meteor

JavaScript
4
star
44

angular-meteor-legacy

Shell
3
star
45

meteor-native-packages

JavaScript
3
star
46

ng-vegas-first-example

HTML
3
star
47

node-express-course

An introduction to Node.js and Express.js servers
1
star
48

tortilla-website

JavaScript
1
star