Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-spin

Tiny spin.js wrapping directive for angular.

Usage:

<div ng-init="config={lines:12}">
    <div spin="config"></div>
</div>

or

<div ng-init="config={lines:12}; spinif=true">
    <div spin="config" spin-if="spinif"></div>
</div>

Enhancements in 0.1.2

Is now a UMD module for AMD or browser globals. Spin.js is so it is easier to use this with AMD now.

Will take the foreground color of the host element if none is specified in the config, like the jQuery plugin version.

You can specify hideElement: true in the config and it will cause the host element to hide when the spinner stops (via spin-if).

About

Tiny spin.js wrapping directive for angular

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages