承接 biller/yii2-outdated-browser 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

biller/yii2-outdated-browser

最新稳定版本:2.0.1

Composer 安装命令:

composer require biller/yii2-outdated-browser

包简介

A Yii2 widget for outdated-browser

README 文档

README

Yii2 widget for http://outdatedbrowser.com/.

Usage of this plugin is really simple, just include it in your composer.json like so:

'biller/yii2-outdated-browser': '*'

and then update your composer (php ./composer.phar update) and finally include it in your page:

<?= biller\outdatedBrowser\OutdatedBrowser::widget() ?>

Setting the parameters

The outdated browser plugin accepts four parameters which can be provied as class vars like so:

<?= biller\outdatedBrowser\OutdatedBrowser::widget(['language' => 'ar', 'bgColor' => '#f25648']) ?>

Using this only for IE7

Using this only for IE7 can be very useful especially since Bootstrap 3.x supports IE8+

Since Yii2, by default, only uses JQuery 2.2 you must actually add a line to your composer to make this work:

"bower-asset/jquery": "~1.11@stable",

And then when calling the plugin you simply put:

<?= biller\outdatedBrowser\OutdatedBrowser::widget(['onlyIe7' => true]) ?>

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-05-09