2017 © Pedro Peláez
 

yii2-extension yii2-pace-widget

An Yii2 widget for automatic web page progress bar.

image

uran1980/yii2-pace-widget

An Yii2 widget for automatic web page progress bar.

  • Saturday, March 7, 2015
  • by uran1980
  • Repository
  • 2 Watchers
  • 1 Stars
  • 732 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

Yii2 Pace Widget

An Yii2 widget for automatic web page progress bar based on Pace javascript library., (*1)

What Pace do?

Pace will automatically monitor your ajax requests, event loop lag, document ready state, and elements on your page to decide the progress., (*2)

On ajax navigation it will begin again!, (*3)

For more info see: github.hubspot.com/pace., (*4)

Installation

Composer

The preferred way to install this extension is through Composer., (*5)

Either run, (*6)

php composer.phar require uran1980/yii2-pace-widget "dev-master"

or add, (*7)

"uran1980/yii2-pace-widget": "dev-master"

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

Usage

To activate this widget add this line to you view or layout:, (*9)

<?php echo uran1980\yii\widgets\pace\Pace::widget(); ?>

Available options: color, theme and paceOptions, for example:, (*10)

<?php echo uran1980\yii\widgets\pace\Pace::widget([
    'color' => 'green',
    'theme' => 'flash',
]); ?>

or with paceOptions (@see pace documentation for mor info):, (*11)

<?php echo uran1980\yii\widgets\pace\Pace::widget([
    'color' => 'blue',
    'theme' => 'flash',
    'paceOptions' => [
        'ajax'      => false,
        'document'  => false,
    ],
]); ?>

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com, (*12)

The Versions

07/03 2015

dev-master

9999999-dev https://github.com/uran1980/yii2-pace-widget

An Yii2 widget for automatic web page progress bar.

  Sources   Download

MIT

The Requires

 

yii2 widgets pace yii2-pace-widget

07/03 2015

0.0.1

0.0.1.0 https://github.com/uran1980/yii2-scroll-to-top

An Yii2 widget for automatic web page progress bar.

  Sources   Download

MIT

The Requires

 

yii2 widgets pace

07/03 2015

0.0.2

0.0.2.0 https://github.com/uran1980/yii2-pace-widget

An Yii2 widget for automatic web page progress bar.

  Sources   Download

MIT

The Requires

 

yii2 widgets pace yii2-pace-widget