stivehu/yii2-persisthide
Composer 安装命令:
composer require stivehu/yii2-persisthide
包简介
Holding hide/show item after page reload
关键字:
README 文档
README
Holding hide/show item after page reload
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist stivehu/yii2-persisthide "*"
or add
"stivehu/yii2-persisthide": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php $hidden = stivehu\persisthide\Persisthide::begin(); echo $hidden->beginTag();?> The hiden text <?= $hidden->endTag(); ?> <?= echo $hidden->showButton(Yii::t('app', 'More search'), ['class' => 'btn btn-primary']); ?> <?php stivehu\persisthide\Persisthide::end(); ?>
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-05-30