ercling/yii2-pace 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ercling/yii2-pace

Composer 安装命令:

composer require ercling/yii2-pace

包简介

Automatic page load progress bar. The PACE plugin integration for Yii2 Framework

README 文档

README

Automatic page load progress bar widget for Yii2 Framework. This is a PACE wrapper.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require ercling/yii2-pace "*"

or add

"ercling/yii2-pace": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply put in your view

<?=ercling\pace\PaceWidget::widget()?>

If you would like to make some tweaks you can use color, theme and options like this:

<?=ercling\pace\PaceWidget::widget([
    'color'=>'red',
    'theme'=>'corner-indicator',
    'options'=>[
        'ajax'=>['trackMethods'=>['GET','POST']]
    ]
])?>

You can preview themes and colors here and here.

For list of options see documentation or this source file.

统计信息

  • 总下载量: 12.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: CSS

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-10-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固