PHP code example of thtmorais / yii2-pace
1. Go to this page and download the library: Download thtmorais/yii2-pace 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/ */
thtmorais / yii2-pace example snippets
use thtmorais\pace\Pace;
echo Pace::widget();
<?= \thtmorais\pace\Pace::widget()
return [
'paceOptions' => [
'color' => 'blue',
'theme' => 'minimal',
'options' => []
]
];
use thtmorais\pace\Pace;
echo Pace::widget([
'color'=>'red',
'theme'=>'corner-indicator',
'options'=>[]
]);