2017 © Pedro Peláez
 

yii2-extension yii2-jquery-loading

A wrapper around Yii2 jquery loading for using with AJAX requests

image

loveorigami/yii2-jquery-loading

A wrapper around Yii2 jquery loading for using with AJAX requests

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 22 % Grown

The README.md

Yii2 jQuery-loading

Latest Stable Version Total Downloads License, (*1)

A wrapper around Yii2 jQuery-loading for using with AJAX requests., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

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

or add, (*5)

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

to the require section of your composer.json file., (*6)

Usage

In layout, (*7)

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

In view, (*8)

$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
    ]
]

The Versions

15/11 2017

dev-master

9999999-dev https://github.com/loveorigami/yii2-jquery-loading

A wrapper around Yii2 jquery loading for using with AJAX requests

  Sources   Download

MIT

The Requires

  • bower-asset/jquery-loading ~1.2.0

 

yii2 ajax loading jquery-loading

30/09 2016

1.0

1.0.0.0 https://github.com/loveorigami/yii2-jquery-loading

A wrapper around Yii2 jquery loading for using with AJAX requests

  Sources   Download

MIT

The Requires

 

yii2 ajax loading jquery-loading