Sleep

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

app").Instance.
Spare.Crystal clear.Undo.addWaterMark.fromDataURL.impaired.

Props.sigOption (Things, default: penColor:" rgb( 0, 0, 0)", backgroundColor:" rgb( 255,255,255)" ): Contains properties for penColor as well as backgroundColor.w (Strand, default: "one hundred%"): Width of the parent compartment (should consist of units, e.g., "100px" or "one hundred%").h (Strand, default: "one hundred%"): Height of the parent container (have to consist of devices, e.g., "100px" or even "100%").clearOnResize (Boolean, default: false): Establishes if the canvas is actually cleared when the window is resized.waterMark (Item, nonpayment: {-String.Split-|-} ): Arrangement for watermark (pertain to Usage addWaterMark).disabled (Boolean, default: incorrect): Disables the canvas if readied to correct.defaultUrl (Strand, default: ""): URL of the graphic to be featured by default.Approaches.save ((), "image/jpeg", "image/svg+ xml"): Conserves the image as PNG, JPEG, or even SVG.clear: Gets rid of the canvass.isEmpty: Revenue accurate if the canvas is actually empty, otherwise returns untrue.reverse: Eliminates the last dot or line.addWaterMark ({-String.Split-|-}// examine Consumption addWaterMark): Incorporates a watermark.fromDataURL (url): Pulls a trademark photo from a record link.Perspective Github.

Articles You Can Be Interested In