Wocart

@wocart/storefront v3.1.0


@wocart/storefront / review-media / ReviewUploadOptions

Interface: ReviewUploadOptions

Properties

durationMs?

optional durationMs?: number

A voice note's length, as the recorder reported it.


kind

kind: "image" | "audio"

A photo is shrunk before it is sent; a voice note is sent as recorded.


onProgress?

optional onProgress?: (share) => void

The share sent so far, 0–1, for a progress bar.

Parameters

share

number

Returns

void