2017 © Pedro Peláez
 

yii2-extension yii2-nprogress

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

image

easyconn/yii2-nprogress

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  • Sunday, April 15, 2018
  • by zhuzhu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Yii2 NProgress

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist edgardmessias/yii2-nprogress "*"

or add, (*4)

"edgardmessias/yii2-nprogress": "*"

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

Usage

Once the extension is installed, simply use it in your view code by :, (*6)

<?php \edgardmessias\assets\nprogress\NProgressAsset::register($this); ?>

Customization

To change settings, simply add the following code in your configuration, (*7)

'components' => [
    'assetManager' => [
        'bundles' => [
            'edgardmessias\assets\nprogress\NProgressAsset' => [
                'configuration' => [
                    'minimum' => 0.08,
                    'showSpinner' => true,
                ],
                'page_loading' => false,
                'pjax_events' => true,
                'jquery_ajax_events' => false,
            ],
        ],
    ],
],

Settings

  • configuration: The NProgress Configuration (Default: null)
  • page_loading: Show NProgress during page loading (Default: false)
  • pjax_events: Show NProgress for pjax:start and pjax:end events (Default: true)
  • jquery_ajax_events: Show NProgress for ajaxStart and ajaxComplete events (Default: false)

The Versions

15/04 2018

dev-master

9999999-dev

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Edgard Messias

extension yii2 assets pjax nprogress

15/04 2018

0.3.2

0.3.2.0

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Edgard Messias

extension yii2 assets pjax nprogress

14/04 2018

0.3.1

0.3.1.0

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Edgard Messias

extension yii2 assets pjax nprogress

19/08 2015

0.3.0

0.3.0.0

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Edgard Messias

extension yii2 assets pjax nprogress

02/07 2015

0.2.0

0.2.0.0

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Edgard Messias

extension yii2 assets pjax nprogress

02/07 2015

0.1.0

0.1.0.0

Slim progress bars for Ajax'y applications. Inspired by Google, YouTube, and Medium for Yii2 Framework.

  Sources   Download

BSD-2-Clause

The Requires

 

by Edgard Messias

extension yii2 nprogress