samuelelonghin/yii2-btn

新的 Bootstrap 5 按钮

1.1.3 2022-03-30 15:21 UTC

This package is auto-updated.

Last update: 2024-09-29 06:03:17 UTC


README

安装

安装此扩展的首选方法是通过 composer

运行以下命令之一:

php composer.phar require --prefer-dist longhinsamuele/yii2-btn "*"

或者在您的 composer.json 文件的 require 部分添加:

"longhinsamuele/yii2-btn": "*"

to the require section of your composer.json file.

使用方法

扩展安装完成后,只需在您的代码中使用它即可

<?= \samuelelonghin\btn\Btn::widget(); ?>```
<?= \samuelelonghin\btn\Btn::widget(['data'=> []]); ?>```