jberall/yii2-signature-draw
Composer 安装命令:
composer require jberall/yii2-signature-draw
包简介
Renders a Signature Pad using jSignature
README 文档
README
Renders a Signature Pad using jSignature
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist jberall/yii2-signature-draw: "dev-master"
or add
"jberall/yii2-signature-draw": "dev-master"
to the require section of your composer.json file.
composer update jberall/yii2-signature-draw will only update this file.
Usage
The js files are from brinley.github.io See demos here.
Once the extension is installed, simply use it in your code by :
Create a jSignature Canvas. <?= \jberall\signaturedraw\SignatureDraw::widget(); ?> You can use your own view file <?= \jberall\signaturedraw\SignatureDraw::widget(['view'=>'\\pathto\file']); ?> It is recommended to change your own file. In the file under views/sdv.php you can easily modify your .css, javascript and canvas options.
统计信息
- 总下载量: 1.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-08