{"_id":"@bitbuy-at/vue-signature-pad","_rev":"5-01b801364c84b2c49c06c0cf467a447b","name":"@bitbuy-at/vue-signature-pad","dist-tags":{"latest":"2.1.4"},"versions":{"2.1.0":{"name":"@bitbuy-at/vue-signature-pad","description":"SignaturePad component for Vue.js","version":"2.1.0","main":"dist/vue-signature-pad.ssr.js","unpkg":"dist/vue-signature-pad.min.js","module":"dist/vue-signature-pad.esm.js","browser":"dist/vue-signature-pad.esm.js","scripts":{"serve":"vue-cli-service serve dev/serve.js","test":"jest","build":"npm run clean && rollup -c","build:ssr":"rollup --config build/rollup.config.js --format cjs","build:es":"rollup --config build/rollup.config.js --format es","build:unpkg":"rollup --config build/rollup.config.js --format iife","lint":"eslint --ext .vue,.js src","lint-fix":"eslint --ext .vue,.js src --fix","size":"run-s size:*","size:cjs":"echo CommonJs gzipped size: $(gzip-size $npm_package_main)","size:unpkg":"echo UMD gzipped size: $(gzip-size $npm_package_unpkg)","size:esm":"echo ESModule gzipped size: $(gzip-size $npm_package_module)","clean":"rimraf dist","prepublishOnly":"npm test && npm run lint","prepare":"husky install"},"jest":{"moduleFileExtensions":["js","vue"],"testMatch":["<rootDir>/src/*/__tests__/*.spec.js"],"transform":{"^.+\\.js$":"babel-jest","^.+\\.vue$":"vue-jest"},"moduleNameMapper":{"^@/(.*)$":"<rootDir>/src/$1"},"verbose":true,"collectCoverage":true,"setupFiles":["jest-canvas-mock"]},"lint-staged":{"*.{js,vue}":["eslint --fix"]},"author":{"name":"Peng Jie","email":"bivinity.pengzjie@gmail.com","url":"https://github.com/neighborhood999"},"repository":{"type":"git","url":"git+https://github.com/neighborhood999/vue-signature-pad.git"},"keywords":["vue","signature","component"],"bugs":{"url":"https://github.com/neighborhood999/vue-signature-pad/issues"},"dependencies":{"merge-images":"^1.1.0","signature_pad":"^4.2.0","vue":"^2.6.14"},"devDependencies":{"@babel/core":"7.14.6","@babel/preset-env":"7.14.7","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","@rollup/plugin-replace":"2.3.4","@vue/cli-service":"4.5.13","@vue/test-utils":"1.2.1","babel-core":"7.0.0-bridge.0","babel-eslint":"10.1.0","babel-jest":"26.6.3","eslint":"7.30.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","eslint-plugin-vue":"7.13.0","husky":"7.0.1","jest":"26.6.3","jest-canvas-mock":"2.3.1","lint-staged":"11.0.1","minimist":"1.2.5","npm-run-all":"4.1.5","prettier":"2.3.2","rimraf":"3.0.2","rollup":"2.53.2","rollup-plugin-size-snapshot":"0.12.0","rollup-plugin-terser":"7.0.2","rollup-plugin-vue":"5.1.9","vue-jest":"3.0.7","vue-template-compiler":"2.6.14"},"engines":{"node":">=12"},"license":"MIT","gitHead":"b49fd5bf6d93a30ecb24e4129c1678dbca9cfbc9","homepage":"https://github.com/neighborhood999/vue-signature-pad#readme","_id":"@bitbuy-at/vue-signature-pad@2.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0pHwOQqrISJq7DWmcmqYS1L11BiTvh9pAs2hz8Mg0TaCJQuiB2S7kTY6RAzFQcCmDJ7xkGGhnqLewdVaiSm9OA==","shasum":"0a853e2da13f451a65e4c05e98de3393ed175951","tarball":"https://registry.npmjs.org/@bitbuy-at/vue-signature-pad/-/vue-signature-pad-2.1.0.tgz","fileCount":4,"unpackedSize":16463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDmbmEuBJqzRBGhp7fC8LBZ8ql9mqnoB2oIqkxXDkKCQIgN+lsKuaT4z/rEkMw4386oEUgCQOQU0N/5+Zm9N5ln7g="}]},"_npmUser":{"name":"bitbuy-at","email":"office@bitbuy.at"},"directories":{},"maintainers":[{"name":"bitbuy-at","email":"office@bitbuy.at"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-signature-pad_2.1.0_1711570695698_0.8753597233969224"},"_hasShrinkwrap":false},"2.1.1":{"name":"@bitbuy-at/vue-signature-pad","description":"SignaturePad component for Vue.js","version":"2.1.1","main":"dist/vue-signature-pad.ssr.js","unpkg":"dist/vue-signature-pad.min.js","module":"dist/vue-signature-pad.esm.js","browser":"dist/vue-signature-pad.esm.js","scripts":{"serve":"vue-cli-service serve dev/serve.js","test":"jest","build":"npm run clean && rollup -c","build:ssr":"rollup --config build/rollup.config.js --format cjs","build:es":"rollup --config build/rollup.config.js --format es","build:unpkg":"rollup --config build/rollup.config.js --format iife","lint":"eslint --ext .vue,.js src","lint-fix":"eslint --ext .vue,.js src --fix","size":"run-s size:*","size:cjs":"echo CommonJs gzipped size: $(gzip-size $npm_package_main)","size:unpkg":"echo UMD gzipped size: $(gzip-size $npm_package_unpkg)","size:esm":"echo ESModule gzipped size: $(gzip-size $npm_package_module)","clean":"rimraf dist","prepublishOnly":"npm test && npm run lint","prepare":"husky install"},"jest":{"moduleFileExtensions":["js","vue"],"testMatch":["<rootDir>/src/*/__tests__/*.spec.js"],"transform":{"^.+\\.js$":"babel-jest","^.+\\.vue$":"vue-jest"},"moduleNameMapper":{"^@/(.*)$":"<rootDir>/src/$1"},"verbose":true,"collectCoverage":true,"setupFiles":["jest-canvas-mock"]},"lint-staged":{"*.{js,vue}":["eslint --fix"]},"author":{"name":"Peng Jie","email":"bivinity.pengzjie@gmail.com","url":"https://github.com/neighborhood999"},"repository":{"type":"git","url":"git+https://github.com/bitbuyAT/vue-signature-pad.git"},"keywords":["vue","signature","component"],"bugs":{"url":"https://github.com/bitbuyAT/vue-signature-pad/issues"},"dependencies":{"merge-images":"^1.1.0","signature_pad":"^4.2.0","vue":"^2.6.14"},"devDependencies":{"@babel/core":"7.14.6","@babel/preset-env":"7.14.7","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","@rollup/plugin-replace":"2.3.4","@vue/cli-service":"4.5.13","@vue/test-utils":"1.2.1","babel-core":"7.0.0-bridge.0","babel-eslint":"10.1.0","babel-jest":"26.6.3","eslint":"7.30.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","eslint-plugin-vue":"7.13.0","husky":"7.0.1","jest":"26.6.3","jest-canvas-mock":"2.3.1","lint-staged":"11.0.1","minimist":"1.2.5","npm-run-all":"4.1.5","prettier":"2.3.2","rimraf":"3.0.2","rollup":"2.53.2","rollup-plugin-size-snapshot":"0.12.0","rollup-plugin-terser":"7.0.2","rollup-plugin-vue":"5.1.9","vue-jest":"3.0.7","vue-template-compiler":"2.6.14"},"engines":{"node":">=12"},"license":"MIT","gitHead":"b49fd5bf6d93a30ecb24e4129c1678dbca9cfbc9","homepage":"https://github.com/bitbuyAT/vue-signature-pad#readme","_id":"@bitbuy-at/vue-signature-pad@2.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-VVz24hY17kHgypLiAKj3H0uPoGLnwMwWnwnjzJ6tXlcFnKR3ARuqqJigzBp0cvAW+T60Xk4ytJHhA1OlSSLbuw==","shasum":"27ee95dfa3e307c8582579db04f85da062e8f3ce","tarball":"https://registry.npmjs.org/@bitbuy-at/vue-signature-pad/-/vue-signature-pad-2.1.1.tgz","fileCount":7,"unpackedSize":47353,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHr2j2dcgoXVmPSJ+CawbBfJo3/vvXZFiUXkb9uvFb20AiAnDpOOIoI8fSV7E4fMKNfuL0+gC4vUsf5Oina3gkheog=="}]},"_npmUser":{"name":"bitbuy-at","email":"office@bitbuy.at"},"directories":{},"maintainers":[{"name":"bitbuy-at","email":"office@bitbuy.at"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-signature-pad_2.1.1_1712781888879_0.500430931765731"},"_hasShrinkwrap":false},"2.1.3":{"name":"@bitbuy-at/vue-signature-pad","description":"SignaturePad component for Vue.js","version":"2.1.3","main":"dist/vue-signature-pad.ssr.js","unpkg":"dist/vue-signature-pad.min.js","module":"dist/vue-signature-pad.esm.js","browser":"dist/vue-signature-pad.esm.js","scripts":{"serve":"vue-cli-service serve dev/serve.js","test":"jest","build":"npm run clean && rollup -c","build:ssr":"rollup --config build/rollup.config.js --format cjs","build:es":"rollup --config build/rollup.config.js --format es","build:unpkg":"rollup --config build/rollup.config.js --format iife","lint":"eslint --ext .vue,.js src","lint-fix":"eslint --ext .vue,.js src --fix","size":"run-s size:*","size:cjs":"echo CommonJs gzipped size: $(gzip-size $npm_package_main)","size:unpkg":"echo UMD gzipped size: $(gzip-size $npm_package_unpkg)","size:esm":"echo ESModule gzipped size: $(gzip-size $npm_package_module)","clean":"rimraf dist","prepublishOnly":"npm test && npm run lint","prepare":"husky install"},"jest":{"moduleFileExtensions":["js","vue"],"testMatch":["<rootDir>/src/*/__tests__/*.spec.js"],"transform":{"^.+\\.js$":"babel-jest","^.+\\.vue$":"vue-jest"},"moduleNameMapper":{"^@/(.*)$":"<rootDir>/src/$1"},"verbose":true,"collectCoverage":true,"setupFiles":["jest-canvas-mock"]},"lint-staged":{"*.{js,vue}":["eslint --fix"]},"author":{"name":"Peng Jie","email":"bivinity.pengzjie@gmail.com","url":"https://github.com/neighborhood999"},"repository":{"type":"git","url":"git+https://github.com/bitbuyAT/vue-signature-pad.git"},"keywords":["vue","signature","component"],"bugs":{"url":"https://github.com/bitbuyAT/vue-signature-pad/issues"},"dependencies":{"merge-images":"^1.1.0","signature_pad":"^4.2.0","vue":"^2.6.14"},"devDependencies":{"@babel/core":"7.14.6","@babel/preset-env":"7.14.7","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","@rollup/plugin-replace":"2.3.4","@vue/cli-service":"4.5.13","@vue/test-utils":"1.2.1","babel-core":"7.0.0-bridge.0","babel-eslint":"10.1.0","babel-jest":"26.6.3","eslint":"7.30.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","eslint-plugin-vue":"7.13.0","husky":"7.0.1","jest":"26.6.3","jest-canvas-mock":"2.3.1","lint-staged":"11.0.1","minimist":"1.2.5","npm-run-all":"4.1.5","prettier":"2.3.2","rimraf":"3.0.2","rollup":"2.53.2","rollup-plugin-size-snapshot":"0.12.0","rollup-plugin-terser":"7.0.2","rollup-plugin-vue":"5.1.9","vue-jest":"3.0.7","vue-template-compiler":"2.6.14"},"engines":{"node":">=12"},"license":"MIT","gitHead":"3091832568db219b99e082acdb227b8efe1fb316","homepage":"https://github.com/bitbuyAT/vue-signature-pad#readme","_id":"@bitbuy-at/vue-signature-pad@2.1.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-nM+eluOhFyCFwuv78f5yx9/VVXQdFvLmQQHXwudh2w5c+O/tj8Jc8Ii1mjLwOj5ubPSeh5zAJFGroTBsKRUotg==","shasum":"d0d04bc1b53ffab576049170b0bb6e2a2fe7c059","tarball":"https://registry.npmjs.org/@bitbuy-at/vue-signature-pad/-/vue-signature-pad-2.1.3.tgz","fileCount":4,"unpackedSize":16917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbgdqKEuUYKKICsl6RC85VOkU7YxiMEqbux30zTW0fkAiBdpf+0vj/e3Mhteng0iR2PjgAbX6eU/yy7oGFS5IV9jA=="}]},"_npmUser":{"name":"bitbuy-at","email":"office@bitbuy.at"},"directories":{},"maintainers":[{"name":"bitbuy-at","email":"office@bitbuy.at"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-signature-pad_2.1.3_1713303282641_0.5473905567855284"},"_hasShrinkwrap":false},"2.1.4":{"name":"@bitbuy-at/vue-signature-pad","description":"SignaturePad component for Vue.js","version":"2.1.4","main":"dist/vue-signature-pad.ssr.js","unpkg":"dist/vue-signature-pad.min.js","module":"dist/vue-signature-pad.esm.js","browser":"dist/vue-signature-pad.esm.js","scripts":{"serve":"vue-cli-service serve dev/serve.js","test":"jest","build":"npm run clean && rollup -c","build:ssr":"rollup --config build/rollup.config.js --format cjs","build:es":"rollup --config build/rollup.config.js --format es","build:unpkg":"rollup --config build/rollup.config.js --format iife","lint":"eslint --ext .vue,.js src","lint-fix":"eslint --ext .vue,.js src --fix","size":"run-s size:*","size:cjs":"echo CommonJs gzipped size: $(gzip-size $npm_package_main)","size:unpkg":"echo UMD gzipped size: $(gzip-size $npm_package_unpkg)","size:esm":"echo ESModule gzipped size: $(gzip-size $npm_package_module)","clean":"rimraf dist","prepublishOnly":"npm test && npm run lint","prepare":"husky install"},"jest":{"moduleFileExtensions":["js","vue"],"testMatch":["<rootDir>/src/*/__tests__/*.spec.js"],"transform":{"^.+\\.js$":"babel-jest","^.+\\.vue$":"vue-jest"},"moduleNameMapper":{"^@/(.*)$":"<rootDir>/src/$1"},"verbose":true,"collectCoverage":true,"setupFiles":["jest-canvas-mock"]},"lint-staged":{"*.{js,vue}":["eslint --fix"]},"author":{"name":"Peng Jie","email":"bivinity.pengzjie@gmail.com","url":"https://github.com/neighborhood999"},"repository":{"type":"git","url":"git+https://github.com/bitbuyAT/vue-signature-pad.git"},"keywords":["vue","signature","component"],"bugs":{"url":"https://github.com/bitbuyAT/vue-signature-pad/issues"},"dependencies":{"merge-images":"^1.1.0","signature_pad":"^4.2.0","vue":"^2.6.14"},"devDependencies":{"@babel/core":"7.14.6","@babel/preset-env":"7.14.7","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","@rollup/plugin-replace":"2.3.4","@vue/cli-service":"4.5.13","@vue/test-utils":"1.2.1","babel-core":"7.0.0-bridge.0","babel-eslint":"10.1.0","babel-jest":"26.6.3","eslint":"7.30.0","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","eslint-plugin-vue":"7.13.0","husky":"7.0.1","jest":"26.6.3","jest-canvas-mock":"2.3.1","lint-staged":"11.0.1","minimist":"1.2.5","npm-run-all":"4.1.5","prettier":"2.3.2","rimraf":"3.0.2","rollup":"2.53.2","rollup-plugin-size-snapshot":"0.12.0","rollup-plugin-terser":"7.0.2","rollup-plugin-vue":"5.1.9","vue-jest":"3.0.7","vue-template-compiler":"2.6.14"},"engines":{"node":">=12"},"license":"MIT","gitHead":"3091832568db219b99e082acdb227b8efe1fb316","homepage":"https://github.com/bitbuyAT/vue-signature-pad#readme","_id":"@bitbuy-at/vue-signature-pad@2.1.4","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-cM3aeYlLAimd8qupCD8k1Fi4JO+aYtoe4SVGRUUzjbzttnMZ3uQVQoCV7C+ixxQQ8cHo31+cDO/JZ6eKtfacxA==","shasum":"6b3c3c1e6b6a5aa3e000cab43f9e068227f0a4be","tarball":"https://registry.npmjs.org/@bitbuy-at/vue-signature-pad/-/vue-signature-pad-2.1.4.tgz","fileCount":7,"unpackedSize":49053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1SWyoiCLNLh28mitHS+6Lw+vBVR7s71msLCByAUXksAiEA9AsN9FaLzkzf3ntKy4zUnaZS9VK1rcApwHG8aHe/gnU="}]},"_npmUser":{"name":"bitbuy-at","email":"office@bitbuy.at"},"directories":{},"maintainers":[{"name":"bitbuy-at","email":"office@bitbuy.at"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-signature-pad_2.1.4_1713303462509_0.15859828601421877"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-27T20:18:15.593Z","2.1.0":"2024-03-27T20:18:15.860Z","modified":"2024-04-16T21:37:42.854Z","2.1.1":"2024-04-10T20:44:49.035Z","2.1.2":"2024-04-16T21:07:13.822Z","2.1.3":"2024-04-16T21:34:42.767Z","2.1.4":"2024-04-16T21:37:42.661Z"},"maintainers":[{"name":"bitbuy-at","email":"office@bitbuy.at"}],"description":"SignaturePad component for Vue.js","homepage":"https://github.com/bitbuyAT/vue-signature-pad#readme","keywords":["vue","signature","component"],"repository":{"type":"git","url":"git+https://github.com/bitbuyAT/vue-signature-pad.git"},"author":{"name":"Peng Jie","email":"bivinity.pengzjie@gmail.com","url":"https://github.com/neighborhood999"},"bugs":{"url":"https://github.com/bitbuyAT/vue-signature-pad/issues"},"license":"MIT","readme":"# Vue Signature Pad\n\n[![Build Status](https://flat.badgen.net/travis/neighborhood999/vue-signature-pad)](https://travis-ci.org/neighborhood999/vue-signature-pad)\n[![npm](https://flat.badgen.net/npm/v/vue-signature-pad)](https://www.npmjs.com/package/vue-signature-pad)\n[![styled with prettier](https://flat.badgen.net/badge/style%20with/prettier/ff69b4)](https://github.com/prettier/prettier)\n![](https://flat.badgen.net/badge/module%20formats/cjs,%20esm,%20umd/green)\n\n> Vue component wrap for [signature pad](https://github.com/szimek/signature_pad)\n\n## Demo\n\n[![Edit Vue Signature Pad Demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/n5qjp3oqv4)\n\n## Installation\n\n```sh\n$ yarn add vue-signature-pad\n```\n\n## Usage\n\n```js\nimport Vue from 'vue';\nimport VueSignaturePad from 'vue-signature-pad';\n\nVue.use(VueSignaturePad);\n```\n\n```vue\n<template>\n  <div id=\"app\">\n    <VueSignaturePad width=\"500px\" height=\"500px\" ref=\"signaturePad\" />\n    <div>\n      <button @click=\"save\">Save</button>\n      <button @click=\"undo\">Undo</button>\n    </div>\n  </div>\n</template>\n<script>\nexport default {\n  name: 'MySignaturePad',\n  methods: {\n    undo() {\n      this.$refs.signaturePad.undoSignature();\n    },\n    save() {\n      const { isEmpty, data } = this.$refs.signaturePad.saveSignature();\n      console.log(isEmpty);\n      console.log(data);\n    }\n  }\n};\n</script>\n```\n\n[vue-signature-pad](https://github.com/neighborhood999/vue-signature-pad) use [szimek/signature_pad](https://github.com/szimek/signature_pad) default setting as `options`, feel free custom you wanted options. In [v2.1.4](https://github.com/bitbuyAT/vue-signature-pad/releases/tag/2.1.4) added `@begin-stroke` and `@end-stroke` events:\n\n```vue\n<template>\n  <div id=\"app\">\n    <VueSignaturePad\n      width=\"500px\"\n      height=\"500px\"\n      ref=\"signaturePad\"\n      :options=\"{}\"\n      @begin-stroke='beginStroke'\n      @end-stroke='endStroke'\n    />\n  </div>\n</template>\n<script>\nexport default {\n  methods: {\n    beginStroke() {\n      console.log('=== Begin ===');\n    },\n    endStroke() {\n      console.log('=== End ===');\n    }\n  }\n};\n</script>\n```\n\n## Props\n\n| Name                    | Type    | Default                                                                                                 | Description                                              | Example                                                                                                                         |\n|:------------------------|:--------|:--------------------------------------------------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------|\n| width                   | String  | `100%`                                                                                                  | Set the `div` width.                                     | -                                                                                                                               |\n| height                  | String  | `100%`                                                                                                  | Set the `div` height.                                    | -                                                                                                                               |\n| options                 | Object  | [Reference](https://github.com/neighborhood999/vue-signature-pad/blob/master/src/utils/index.js#L5-L13) | Set the signature pad options.                           | [Reference](https://github.com/neighborhood999/vue-signature-pad/blob/master/src/utils/index.js#L5-L13)                         |\n| images                  | Array   | `[]`                                                                                                    | Merge signature with the provide images.                 | `['A.png', 'B.png', 'C.png']` or `[{ src: 'A.png', x: 0, y: 0 }, { src: 'B.png', x: 0, y: 10 }, { src: 'C.png', x: 0, y: 20 }]` |\n| customStyle             | Object  | `{}`                                                                                                    | Custom `div` style.                                      | `{ border: black 3px solid }`                                                                                                   |\n| scaleToDevicePixelRatio | Boolean | `true`                                                                                                  | Scale the canvas up to match the [device pixel ratio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio). | -                                                                                                                               |\n\n## Methods\n\n| Name                                   | Argument Type                | Description                                                                 |\n| :------------------------------------- | :--------------------------- | --------------------------------------------------------------------------- |\n| `saveSignature(type, encoderOptions)`  | `(String, Number)`           | Will return target canvas **status** and **data**.                          |\n| `undoSignature()`                      | -                            | Undo                                                                        |\n| `clearSignature()`                     | -                            | Clear                                                                       |\n| `mergeImageAndSignature(signature)`    | `Object` or `String`         | Provide `images` as props and will merge with signature.                    |\n| `addImages(images)`                    | `Array`                      | Provide the images merge with signature. Reference above `images` property. |\n| `lockSignaturePad()`                   | -                            | Lock target signature pad.                                                  |\n| `openSignaturePad()`                   | -                            | Open target signature pad.                                                  |\n| `getPropImagesAndCacheImages()`        | -                            | Get all the images information.                                             |\n| `clearCacheImages()`                   | -                            | Clear cache images.                                                         |\n| `fromDataURL(data, options, callback)` | `(String, Object, Callback)` | Draw image from data URL.                                                   |\n| `fromData(data)`                       | `String`                     | Returns signature image as an array of point groups.                        |\n| `toData()`                             | -                            | Draws signature image from an array of point groups.                        |\n| `isEmpty()`                            | -                            | Return signature canvas have data.                                          |\n\n## Credits\n\n[szimek/signature_pad](https://github.com/szimek/signature_pad) - HTML5 canvas based smooth signature drawing\n\n## LICENSE\n\nMIT © [Peng Jie](https://github.com/neighborhood999/)\n","readmeFilename":"README.md"}