Sleep

Vue 3-signature - Vue.js Nourished #.\n\nA digital trademark part through Vue3.js.\n\nUtilization.\nnpm install vue3-signature.\nmain.js.\nbring in Vue3Signature from \"vue3-signature\".\n\ncreateApp( Application). use( Vue3Signature). install(\"

app").Example.
Conserve.Clear.Reverse.addWaterMark.fromDataURL.impaired.

Props.sigOption (Object, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains residential or commercial properties for penColor as well as backgroundColor.w (Cord, nonpayment: "one hundred%"): Width of the moms and dad container (need to consist of systems, e.g., "100px" or even "one hundred%").h (Cord, nonpayment: "one hundred%"): Elevation of the parent compartment (need to consist of units, e.g., "100px" or "100%").clearOnResize (Boolean, default: untrue): Establishes if the canvass is actually gotten rid of when the window is resized.waterMark (Object, default: {-String.Split-|-} ): Configuration for watermark (refer to Use addWaterMark).handicapped (Boolean, nonpayment: false): Disables the canvass if readied to real.defaultUrl (Cord, default: ""): URL of the graphic to be displayed through default.Techniques.conserve ((), "image/jpeg", "image/svg+ xml"): Saves the graphic as PNG, JPEG, or SVG.clear: Clears the canvas.isEmpty: Revenue true if the canvas is unfilled, otherwise returns false.undo: Eliminates the last dot or line.addWaterMark ({-String.Split-|-}// examine Use addWaterMark): Adds a watermark.fromDataURL (link): Attracts a trademark picture from a record URL.Sight Github.

Articles You Can Be Interested In