loveorigami/yii2-jquery-loading A wrapper around Yii2 jquery loading for using with AJAX requests

ajaxloadingjquery-loading

Yii2 jQuery-loading

Latest Stable Version Total Downloads License

A wrapper around Yii2 jQuery-loading for using with AJAX requests.

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require --prefer-dist loveorigami/yii2-jquery-loading "@dev"

or add

"loveorigami/yii2-jquery-loading": "@dev"

to the require section of your composer.json file.

Usage

In layout

echo lo\widgets\loading\JqueryLoading::widget(isset($this->params['loading']) ? $this->params['loading'] : []);

In view

$this->params['loading'] = [
    'element' => 'body', // or #my-id_element, or .my-class_element
    'options' => [
        'stoppable' => true,
        'theme' => 'dark',
        'message' => 'Working...'

        // and more here http://carlosbonetti.github.io/jquery-loading
    ]
]

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

  • 1.030 September 2016

Comments



1.0 is the latest of one release



MIT license
Stats
6 github stars & 0 github forks
1 downloads in the last day
15 downloads in the last 30 days
2336 total downloads