Sleep

Vue 3-signature - Vue.js Nourished #.\n\nAn electronic signature element through Vue3.js.\n\nConsumption.\nnpm set up vue3-signature.\nmain.js.\nimport Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( App). usage( Vue3Signature). mount(\"

app").Instance.
Spare.Clear.Undo.addWaterMark.fromDataURL.handicapped.

Props.sigOption (Object, nonpayment: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains homes for penColor and also backgroundColor.w (String, nonpayment: "100%"): Size of the moms and dad container (need to include devices, e.g., "100px" or "100%").h (String, nonpayment: "one hundred%"): Elevation of the parent container (need to include devices, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, default: misleading): Identifies if the canvas is gotten rid of when the window is resized.waterMark (Things, default: {-String.Split-|-} ): Arrangement for watermark (describe Utilization addWaterMark).handicapped (Boolean, default: inaccurate): Turns off the canvass if set to real.defaultUrl (String, nonpayment: ""): URL of the picture to become displayed by default.Procedures.spare ((), "image/jpeg", "image/svg+ xml"): Spares the picture as PNG, JPEG, or even SVG.clear: Clears the canvas.isEmpty: Dividend true if the canvas is unfilled, otherwise returns inaccurate.reverse: Clears away the final dot or even line.addWaterMark ({-String.Split-|-}// check out Utilization addWaterMark): Adds a watermark.fromDataURL (url): Draws a signature image from a record URL.Perspective Github.

Articles You Can Be Interested In