Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImagePlugin

Hierarchy

  • ImagePlugin

Index

Properties

Properties

Optional uploadImage

uploadImage: (dataUrl: string | ArrayBuffer) => string | ArrayBuffer | Promise<string | ArrayBuffer>

An optional method that will upload the image to a server. The method receives the base64 dataUrl of the uploaded image, and should return the URL of the uploaded image.

Type declaration

    • (dataUrl: string | ArrayBuffer): string | ArrayBuffer | Promise<string | ArrayBuffer>
    • Parameters

      • dataUrl: string | ArrayBuffer

      Returns string | ArrayBuffer | Promise<string | ArrayBuffer>

Generated using TypeDoc