Sleep

Vue 3-signature - Vue.js Supplied #.\n\nAn electronic trademark component through Vue3.js.\n\nUsage.\nnpm put in vue3-signature.\nmain.js.\nbring in Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( App). usage( Vue3Signature). place(\"

app").Instance.
Conserve.Clear.Undo.addWaterMark.fromDataURL.disabled.

Props.sigOption (Object, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains residential properties for penColor and also backgroundColor.w (Cord, default: "100%"): Width of the parent container (need to feature systems, e.g., "100px" or "100%").h (Cord, default: "100%"): Elevation of the parent container (need to consist of devices, e.g., "100px" or even "100%").clearOnResize (Boolean, default: untrue): Figures out if the canvas is gotten rid of when the home window is actually resized.waterMark (Object, default: {-String.Split-|-} ): Setup for watermark (refer to Consumption addWaterMark).handicapped (Boolean, default: untrue): Disables the canvas if readied to accurate.defaultUrl (Strand, default: ""): URL of the picture to become featured by nonpayment.Techniques.conserve ((), "image/jpeg", "image/svg+ xml"): Saves the photo as PNG, JPEG, or SVG.clear: Gets rid of the canvass.isEmpty: Revenue accurate if the canvass is actually unfilled, or else returns untrue.reverse: Removes the final dot or even line.addWaterMark ({-String.Split-|-}// examine Use addWaterMark): Includes a watermark.fromDataURL (url): Attracts a trademark photo coming from a record URL.Scenery Github.

Articles You Can Be Interested In