PHP code example of loveorigami / yii2-jquery-loading
1. Go to this page and download the library: Download loveorigami/yii2-jquery-loading library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
loveorigami / yii2-jquery-loading example snippets
echo lo\widgets\loading\JqueryLoading::widget(isset($this->params['loading']) ? $this->params['loading'] : []);
$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
]
]