1.2.3 • Published 9 years ago

angular-theme-spinner v1.2.3

Weekly downloads
17
License
MIT
Repository
github
Last release
9 years ago

angular-theme-spinner

=============

NPM version npm.io

angular-theme-spinner is used for displaying loading indicator while data in specific area is loading.

Install

bower install --save angular-theme-spinner

Usage

<link rel="stylesheet" type="text/css" href="angular-theme-spinner.min.css">

<script type="text/javascript" src="angular.min.js"></script>
<script type="text/javascript" src="angular-theme-spinner.min.js"></script>

<div style="width: 500px; height: 500px;">
    <th-spinner theme="'tailing'" display="'true'" size="'size-md'"></th-spinner>
</div>
//plain javascript
var mod = angular.module('yourModule', ['angular-theme-spinner']);

//commonjs
var angular = require('angular');
require('angular-theme-spinner');
var mod = angular.module('yourModule', ['angular-theme-spinner']);

//AMD
define(['angular', 'angular-theme-spinner'], function(angular){
    var mod = angular.module('yourModule', ['angular-theme-spinner']);
});
//If you are using requirejs, please notice that you have the path config that specify `angular-theme-spinner` to the javascript file

API

AttributeTypeRequiredDescription
themestring(expression)YEStailing, audio-wave, windcatcher, spinner-section, spinner-section-far, circular, initspin can be used
displayboolean(expression)YESused to display the spinner or not
sizestring(expression)YESsize-sm, size-md, size-lg can be used

See full featured demo: angular-theme-spinner

LICENSE

MIT License

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago