Sleep

Vue 3-signature - Vue.js Feed #.\n\nA digital signature element by Vue3.js.\n\nUtilization.\nnpm put up vue3-signature.\nmain.js.\nbring in Vue3Signature from \"vue3-signature\".\n\ncreateApp( App). make use of( Vue3Signature). place(\"

app").Example.
Conserve.Clear.Reverse.addWaterMark.fromDataURL.impaired.

Props.sigOption (Object, nonpayment: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains homes for penColor and backgroundColor.w (Strand, nonpayment: "one hundred%"): Width of the moms and dad container (must include devices, e.g., "100px" or even "100%").h (String, default: "one hundred%"): Height of the moms and dad compartment (should feature devices, e.g., "100px" or "one hundred%").clearOnResize (Boolean, default: incorrect): Identifies if the canvas is removed when the home window is actually resized.waterMark (Item, default: {-String.Split-|-} ): Setup for watermark (describe Usage addWaterMark).disabled (Boolean, default: inaccurate): Disables the canvas if set to accurate.defaultUrl (String, nonpayment: ""): URL of the graphic to be displayed through nonpayment.Techniques.save ((), "image/jpeg", "image/svg+ xml"): Saves the photo as PNG, JPEG, or SVG.clear: Clears the canvas.isEmpty: Revenue real if the canvass is empty, typically returns inaccurate.reverse: Removes the last dot or line.addWaterMark ({-String.Split-|-}// examine Usage addWaterMark): Includes a watermark.fromDataURL (link): Draws a signature picture from a data URL.View Github.

Articles You Can Be Interested In