Sleep

Vue 3-signature - Vue.js Nourished #.\n\nAn electronic trademark element through Vue3.js.\n\nUsage.\nnpm put up vue3-signature.\nmain.js.\nimport Vue3Signature coming from \"vue3-signature\".\n\ncreateApp( Application). make use of( Vue3Signature). position(\"

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

Props.sigOption (Item, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains buildings for penColor and backgroundColor.w (String, default: "one hundred%"): Distance of the moms and dad container (must feature units, e.g., "100px" or even "100%").h (String, nonpayment: "one hundred%"): Height of the moms and dad container (have to consist of units, e.g., "100px" or "100%").clearOnResize (Boolean, nonpayment: inaccurate): Finds out if the canvas is removed when the home window is actually resized.waterMark (Item, default: {-String.Split-|-} ): Setup for watermark (describe Consumption addWaterMark).handicapped (Boolean, nonpayment: inaccurate): Disables the canvas if readied to accurate.defaultUrl (Strand, nonpayment: ""): URL of the photo to be displayed by nonpayment.Strategies.save ((), "image/jpeg", "image/svg+ xml"): Saves the picture as PNG, JPEG, or even SVG.clear: Removes the canvass.isEmpty: Revenue accurate if the canvass is vacant, otherwise returns false.reverse: Gets rid of the final dot or even line.addWaterMark ({-String.Split-|-}// examine Consumption addWaterMark): Adds a watermark.fromDataURL (link): Draws a signature graphic coming from an information URL.View Github.

Articles You Can Be Interested In