Sleep

Vue 3-signature - Vue.js Supplied #.\n\nAn electronic trademark element by Vue3.js.\n\nUtilization.\nnpm put in vue3-signature.\nmain.js.\nimport Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( App). make use of( Vue3Signature). position(\"

app").Example.
Conserve.Crystal clear.Reverse.addWaterMark.fromDataURL.handicapped.

Props.sigOption (Object, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains residential properties for penColor and backgroundColor.w (Strand, default: "one hundred%"): Size of the moms and dad container (have to consist of units, e.g., "100px" or "100%").h (String, default: "100%"): Height of the moms and dad container (must feature units, e.g., "100px" or even "one hundred%").clearOnResize (Boolean, default: misleading): Finds out if the canvass is actually removed when the home window is actually resized.waterMark (Object, default: {-String.Split-|-} ): Arrangement for watermark (pertain to Use addWaterMark).disabled (Boolean, nonpayment: untrue): Turns off the canvas if set to accurate.defaultUrl (Cord, default: ""): URL of the graphic to be displayed by default.Strategies.conserve ((), "image/jpeg", "image/svg+ xml"): Saves the picture as PNG, JPEG, or SVG.clear: Removes the canvass.isEmpty: Returns correct if the canvass is vacant, otherwise returns false.reverse: Clears away the final dot or even line.addWaterMark ({-String.Split-|-}// check out Usage addWaterMark): Adds a watermark.fromDataURL (url): Pulls a trademark picture coming from a record URL.Scenery Github.

Articles You Can Be Interested In