Sleep

Vue 3-signature - Vue.js Feed #.\n\nA digital signature part through Vue3.js.\n\nUsage.\nnpm put up vue3-signature.\nmain.js.\nimport Vue3Signature from \"vue3-signature\".\n\ncreateApp( App). make use of( Vue3Signature). install(\"

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

Props.sigOption (Object, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains properties for penColor and also backgroundColor.w (String, default: "one hundred%"): Distance of the parent compartment (need to include units, e.g., "100px" or "100%").h (Strand, default: "100%"): Elevation of the parent compartment (need to consist of devices, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, nonpayment: untrue): Finds out if the canvass is removed when the home window is actually resized.waterMark (Item, default: {-String.Split-|-} ): Arrangement for watermark (refer to Usage addWaterMark).impaired (Boolean, nonpayment: misleading): Turns off the canvas if set to accurate.defaultUrl (Cord, default: ""): URL of the picture to be featured by default.Methods.conserve ((), "image/jpeg", "image/svg+ xml"): Spares the graphic as PNG, JPEG, or even SVG.clear: Clears the canvass.isEmpty: Revenue true if the canvas is actually empty, otherwise returns misleading.reverse: Eliminates the final dot or line.addWaterMark ({-String.Split-|-}// inspect Usage addWaterMark): Incorporates a watermark.fromDataURL (link): Draws a signature photo coming from a data URL.Sight Github.

Articles You Can Be Interested In