# maskloader

> jQuery Mask Loader ==================

Latest version **1.0.1** (published 2015-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install maskloader
pnpm add maskloader
yarn add maskloader
bun add maskloader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-09 |
| First published | 2015-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Rafael Ortega Bueno |
| Maintainers | rorteg |
| Keywords | jquery-plugin, ecosystem:jquery |

## Links

- npm: https://www.npmjs.com/package/maskloader
- Repository: https://github.com/rorteg/jquery_maskloader
- Issues: https://github.com/rorteg/jquery_maskloader/issues
- npm.io page: https://npm.io/package/maskloader

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-10-09

## README

jQuery Mask Loader
==================

Simple Jquery plugin preloader for ajax, etc. Easy to use.

Demo page: http://rafaelortegabueno.com/jquery_maskloader/


Installation
------------
1. Installation via Bower:
```bash
bower install maskloader
```
* your HTML file:
```html
<html>
  <head>
    <title>Mask Loader Example</title>
    <link rel="stylesheet" type="text/css" href="bower_components/maskLoader/dist/maskloader.css"/>
  </head>
  <body>
    <!-- Your html -->
    
    <script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"/>
    <script type="text/javascript" src="bower_components/maskLoader/dist/jquery.maskloader.js"/>
    <script type="text/javascript">
      // YOUR JS CODES
    </script>
  </body>
</html>
```

Basic Usage:
------------
```javascript
// When use ajax, before send requests
// You can use any element that serves as a container html, tags like "body", classes and ids
var maskloader = $('body').maskLoader();

// After success callback execute
maskloader.destroy();
```

Options:
--------
```javascript
var maskloader = $('.container').maskLoader({
  'fade': true,
  'z-index': '999',
  'background': 'white', // Background overlay
  'opacity': '0.6', // Opacity overlay
  'imgLoader': false, // Path for image preloader :)
  'autoCreate':true // If false, you will have to run the "create" function. Ex: $('body').maskLoader().create(); 
});
```

---
_Source: https://npm.io/package/maskloader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
