dungphanxuan / yii2-reveal
演示文稿
0.1
2015-06-30 02:27 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-09-19 09:22:37 UTC
README
安装此扩展的首选方式是通过 composer。
运行以下命令:
php composer.phar require --prefer-dist dungphanxuan/yii2-reveal "*"
或者将以下内容添加到你的 composer.json
文件的 require 部分中:
"dungphanxuan/yii2-reveal": "dev-master"
使用方法
扩展安装完成后,只需在代码中使用它即可:
<?php echo dungphanxuan\yii2reveal\RevealWidget::widget([ 'name' => 'content', 'options'=>[// html attributes 'id'=>'content' ], 'clientOptions'=>[ ] ]);; ?>