PHP code example of uran1980 / yii2-pace-widget
1. Go to this page and download the library: Download uran1980/yii2-pace-widget 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/ */
uran1980 / yii2-pace-widget example snippets
echo uran1980\yii\widgets\pace\Pace::widget();
echo uran1980\yii\widgets\pace\Pace::widget([
'color' => 'green',
'theme' => 'flash',
]);
php composer.phar
echo uran1980\yii\widgets\pace\Pace::widget([
'color' => 'blue',
'theme' => 'flash',
'paceOptions' => [
'ajax' => false,
'document' => false,
],
]);