定制 jberall/yii2-signature-draw 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 6
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-08