extead/yii2-autonumeric
最新稳定版本:v0.1.2
Composer 安装命令:
composer require extead/yii2-autonumeric
包简介
Input format extension for Yii 2.0 based on autoNumerical plugin
关键字:
README 文档
README
Input format extension for Yii 2.0 based on autoNumerical plugin https://github.com/BobKnothe/autoNumeric
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist extead/yii2-autonumeric "*"
or add
"extead/yii2-autonumeric": "*"
to the require section of your composer.json file.
Usage
For all pluginOptions see autoNumeric docs - https://github.com/BobKnothe/autoNumeric.
Once the extension is installed, simply use it in your code by :
<?=$form->field($model, 'price')->widget(\extead\autonumeric\AutoNumeric::classname(), [ 'pluginOptions' => [ 'aSep' => ' ', 'mDec' => 0 ] ]);?>
统计信息
- 总下载量: 14.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: 0BSD
- 更新时间: 2015-02-03