Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wwwmarcos/angular-loading-feedback

Angular directive to indicate loads in app
https://github.com/wwwmarcos/angular-loading-feedback

angular angularjs bower directives loading loading-screen npm-package spinner

Last synced: about 1 month ago
JSON representation

Angular directive to indicate loads in app

Awesome Lists containing this project

README

        

# angular-loading-feedback

# Install

## Bower
`bower install angular-loading-feedback`

## Or
[Download](http://github.com/marcosflorencio/angular-loading-feedback/zipball/master/) files and import the files in your index.

```html

```

```html

```

Declare a dependency on principal module
```javascript
angular.module('myModule', ['angular-loading-feedback']);
```

# Usage
In your index declare the directive

```html

```

#### Style options

* loading-message: _(default: null)_ message appears during the loading.

* bg-color: _(default: #f2f2f2)_ background color

* text-color: _(default: #7f8c8d)_ text and loading symbol color

Example:

```html

```
#### Ignoring the loading

**For ignore loading (dont display modal) in case of autocomplete/type a head use the attribute directive:** `loading-feedback-ignore` in the input.

Example:

```html

```

## Live-demo
https://plnkr.co/edit/DYksypT1c7d0T2iKEGka?p=preview

## Demo:

_(Default settings)_

![alt tag](http://i.giphy.com/26AHEJJBoYHmPaQGA.gif)