Sleep

Vue 3-signature - Vue.js Feed #.\n\nAn electronic signature component through Vue3.js.\n\nConsumption.\nnpm put up vue3-signature.\nmain.js.\nimport Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( App). use( Vue3Signature). install(\"

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

Props.sigOption (Things, nonpayment: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains homes for penColor and backgroundColor.w (Strand, default: "one hundred%"): Distance of the moms and dad container (have to consist of devices, e.g., "100px" or "one hundred%").h (Cord, default: "one hundred%"): Elevation of the parent container (need to consist of units, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, nonpayment: incorrect): Calculates if the canvass is actually removed when the window is resized.waterMark (Things, default: {-String.Split-|-} ): Setup for watermark (pertain to Use addWaterMark).handicapped (Boolean, default: inaccurate): Turns off the canvas if set to accurate.defaultUrl (String, default: ""): URL of the picture to become displayed by default.Approaches.spare ((), "image/jpeg", "image/svg+ xml"): Conserves the graphic as PNG, JPEG, or SVG.unobstructed: Removes the canvas.isEmpty: Dividend accurate if the canvas is actually empty, or else returns untrue.undo: Removes the last dot or line.addWaterMark ({-String.Split-|-}// examine Utilization addWaterMark): Adds a watermark.fromDataURL (link): Draws a trademark photo from a record link.Sight Github.

Articles You Can Be Interested In