2017 © Pedro Peláez
 

yii2-extension yii2-showloading

Yii2 extension for showLoading jQuery plugin

image

nirvana-msu/yii2-showloading

Yii2 extension for showLoading jQuery plugin

  • Sunday, January 11, 2015
  • by nirvana-msu
  • Repository
  • 2 Watchers
  • 15 Stars
  • 15,017 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 11 Forks
  • 0 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

yii2-showloading

Yii2 extension for showLoading jQuery plugin
Yii2 extension page
Codepen demo page, (*1)

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

Installation

Composer

Simply add extension to your composer.json: ``` js { "require": { "nirvana-msu/yii2-showloading": "1.0.*@dev" } }, (*3)

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

##Configuration

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:
``` php
use nirvana\showloading\ShowLoadingAsset;
ShowLoadingAsset::register($this);

Sample usage

To show / hide loading indicator, simply call showLoading() / hideLoading() methods: js $('#my-content-panel-id').showLoading(); $('#my-content-panel-id').hideLoading();, (*4)

License

Extension is released under MIT license., (*5)

Underlying jQuery plugin license:, (*6)

jQuery showLoading plugin v1.0, (*7)

Copyright (c) 2009 Jim Keller
Context - http://www.contextllc.com, (*8)

Dual licensed under the MIT and GPL licenses., (*9)

The Versions

11/01 2015

dev-master

9999999-dev

Yii2 extension for showLoading jQuery plugin

  Sources   Download

MIT

The Requires

 

by Alexander Stepanov

plugin yii2 jquery ajax widget showloading