Sleep

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

app").Instance.
Spare.Crystal clear.Reverse.addWaterMark.fromDataURL.handicapped.

Props.sigOption (Object, nonpayment: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains buildings for penColor and backgroundColor.w (String, default: "100%"): Size of the parent container (should consist of units, e.g., "100px" or even "100%").h (Strand, default: "100%"): Elevation of the moms and dad container (need to include units, e.g., "100px" or "100%").clearOnResize (Boolean, nonpayment: inaccurate): Finds out if the canvass is actually cleared when the home window is actually resized.waterMark (Things, default: {-String.Split-|-} ): Setup for watermark (describe Utilization addWaterMark).impaired (Boolean, nonpayment: inaccurate): Disables the canvas if readied to correct.defaultUrl (String, default: ""): link of the graphic to be displayed through default.Approaches.conserve ((), "image/jpeg", "image/svg+ xml"): Saves the picture as PNG, JPEG, or even SVG.unobstructed: Clears the canvas.isEmpty: Returns accurate if the canvas is empty, typically returns untrue.reverse: Takes out the last dot or line.addWaterMark ({-String.Split-|-}// examine Consumption addWaterMark): Adds a watermark.fromDataURL (url): Attracts a signature picture from a data URL.Scenery Github.

Articles You Can Be Interested In