Sleep

Vue 3-signature - Vue.js Nourished #.\n\nA digital trademark part through Vue3.js.\n\nUse.\nnpm set up vue3-signature.\nmain.js.\nimport Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( Application). usage( Vue3Signature). position(\"

app").Instance.
Conserve.Very clear.Undo.addWaterMark.fromDataURL.impaired.

Props.sigOption (Things, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains homes for penColor and backgroundColor.w (Strand, nonpayment: "one hundred%"): Size of the moms and dad compartment (need to feature devices, e.g., "100px" or "100%").h (Cord, default: "one hundred%"): Elevation of the parent compartment (need to include systems, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, nonpayment: false): Calculates if the canvas is actually gotten rid of when the window is actually resized.waterMark (Item, nonpayment: {-String.Split-|-} ): Arrangement for watermark (refer to Consumption addWaterMark).handicapped (Boolean, nonpayment: misleading): Disables the canvas if set to real.defaultUrl (Cord, default: ""): URL of the graphic to become presented by default.Procedures.save ((), "image/jpeg", "image/svg+ xml"): Spares the graphic as PNG, JPEG, or SVG.clear: Gets rid of the canvas.isEmpty: Revenue true if the canvass is actually vacant, typically returns untrue.reverse: Gets rid of the final dot or line.addWaterMark ({-String.Split-|-}// check out Usage addWaterMark): Incorporates a watermark.fromDataURL (url): Attracts a signature picture coming from an information URL.Perspective Github.

Articles You Can Be Interested In