llama-jquery-indicator

0.1.1 • Public • Published

jQuery indicator

Easy jQuery plugin to show visual feedback when loading data or any action that would take time. Also can disable form elements and put an overlay an specified area or whole page.

Installation

2 options:

use Bower

bower install llama-jquery-indicator

use NPM

npm install llama-jquery-indicator --save-dev

Quick start

Basic use:

Set default options

$.indicator.setDefaults({
    'appendTo': "body", 
    'html': '#indicator'
});

Start

$( "selector" ).indicator("show");

Stop:

$( "selector" ).indicator( "hide" );

Default options:

defaults = {
    'appendTo': "body",        // Place for element indicator will be append
    'html': null               // Element indicator code
};

Package Sidebar

Install

npm i llama-jquery-indicator

Weekly Downloads

3

Version

0.1.1

License

none

Last publish

Collaborators

  • xuan.0211