Draw and save signatures in Yii2
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist seisvalt/yii2-signature "dev-master"
or add
"seisvalt/yii2-signature": "dev-master"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= seisvalt\widgets\SignatureWidget::widget([
'clear' => true,
'url' => 'urlpost.com', 'save_server' => true
]) ?>
Options available
url string
width string
height string
save_server boolean
clear boolean
description boolean
token string