dev-master
9999999-devRenders a Signature Pad using jSignature
MIT
The Requires
- yiisoft/yii2 *
- php ^7.0
by Jonathan Berall
extension yii2 canvas jsignature
Renders a Signature Pad using jSignature
Renders a Signature Pad using jSignature, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist jberall/yii2-signature-draw: "dev-master"
or add, (*4)
"jberall/yii2-signature-draw": "dev-master"
to the require section of your composer.json
file., (*5)
composer update jberall/yii2-signature-draw will only update this file., (*6)
The js files are from brinley.github.io See demos here., (*7)
Once the extension is installed, simply use it in your code by :, (*8)
```php Create a jSignature Canvas. = \jberall\signaturedraw\SignatureDraw::widget(); ?>, (*9)
You can use your own view file = \jberall\signaturedraw\SignatureDraw::widget(['view'=>'\\pathto\file']); ?> It is recommended to change your own file., (*10)
In the file under views/sdv.php you can easily modify your .css, javascript and canvas options., (*11)
Renders a Signature Pad using jSignature
MIT
extension yii2 canvas jsignature