2017 © Pedro Peláez
 

yii2-extension yii2-signature-draw

Renders a Signature Pad using jSignature

image

jberall/yii2-signature-draw

Renders a Signature Pad using jSignature

  • Thursday, March 9, 2017
  • by jberall
  • Repository
  • 2 Watchers
  • 1 Stars
  • 85 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 8 % Grown

The README.md

jSignature Draw

Renders a Signature Pad using jSignature, (*1)

Installation

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)

Usage

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)

The Versions

09/03 2017

dev-master

9999999-dev

Renders a Signature Pad using jSignature

  Sources   Download

MIT

The Requires

 

by Jonathan Berall

extension yii2 canvas jsignature