Class Export

Constructors

Methods

Constructors

Methods

  • Exports the current workspace to image

    Parameters

    • Optional config: Partial<undefined | {
          callback?: ((str) => void);
          height?: number;
          mimeType?: string;
          pixelRatio?: number;
          quality?: number;
          width?: number;
          x?: number;
          y?: number;
      }>

      The export options

    Returns string

    The exported image data url

  • Exports the current workspace to json string

    Returns JsonData

    The exported JSON object