Sleep

Vue 3-signature - Vue.js Feed #.\n\nAn electronic signature component through Vue3.js.\n\nUse.\nnpm install vue3-signature.\nmain.js.\nbring in Vue3Signature from \"vue3-signature\".\n\ncreateApp( App). make use of( Vue3Signature). place(\"

app").Example.
Spare.Crystal clear.Undo.addWaterMark.fromDataURL.impaired.

Props.sigOption (Item, nonpayment: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains properties for penColor and also backgroundColor.w (Cord, nonpayment: "100%"): Distance of the moms and dad container (must consist of units, e.g., "100px" or even "100%").h (String, nonpayment: "one hundred%"): Height of the moms and dad compartment (need to consist of units, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, nonpayment: misleading): Figures out if the canvass is actually gotten rid of when the window is actually resized.waterMark (Object, nonpayment: {-String.Split-|-} ): Setup for watermark (pertain to Consumption addWaterMark).handicapped (Boolean, default: untrue): Disables the canvas if set to real.defaultUrl (Strand, nonpayment: ""): URL of the graphic to become presented by nonpayment.Methods.conserve ((), "image/jpeg", "image/svg+ xml"): Conserves the photo as PNG, JPEG, or even SVG.clear: Gets rid of the canvas.isEmpty: Returns correct if the canvas is empty, otherwise returns incorrect.reverse: Gets rid of the last dot or even line.addWaterMark ({-String.Split-|-}// inspect Consumption addWaterMark): Adds a watermark.fromDataURL (url): Pulls a signature picture coming from an information URL.Sight Github.