Yii2 extension for showLoading jQuery plugin

Installs: 36 853

Dependents: 2

Suggesters: 0

Security: 0

Stars: 16

Watchers: 2

Forks: 14

Open Issues: 0



dev-master / 1.0.x-dev 2015-01-11 18:55 UTC

This package is not auto-updated.

Last update: 2020-04-03 16:41:34 UTC


Yii2 extension for showLoading jQuery plugin
Yii2 extension page
Codepen demo page

Plugin provides a neat way of overlaying loading indicator over arbitrary content (e.g. during ajax calls).



Simply add extension to your composer.json:

    "require": {
        "nirvana-msu/yii2-showloading": "1.0.*@dev"

After this just update your dependencies as usual, e.g. by running composer update


To make the plugin work you just need to register asset bundle. Either specify it as a dependency, or register directly in your view like this:

use nirvana\showloading\ShowLoadingAsset;

##Sample usage

To show / hide loading indicator, simply call showLoading() / hideLoading() methods:



Extension is released under MIT license.

Underlying jQuery plugin license:

jQuery showLoading plugin v1.0

Copyright (c) 2009 Jim Keller
Context -

Dual licensed under the MIT and GPL licenses.