You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular-theme-spinner

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-theme-spinner

angular-theme-spinner used to tell people the data is loading

1.2.3
latest
Source
npmnpm
Version published
Weekly downloads
150
-24.24%
Maintainers
1
Weekly downloads
 
Created
Source

angular-theme-spinner

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

NPM version

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

Keywords

spinner

FAQs

Package last updated on 22 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts