Docs
Installation
Via Yarn
yarn add @wavevision/uploader
or npm
npm install --save @wavevision/uploader
Usage
There are a few ways you can integrate the uploader into your project.
Standard
The most common way is to import the uploader initializer into your project’s assets and use it as follows:
import WavevisionUploader from '@wavevision/uploader';
document.addEventListener('DOMContentLoaded', () =>
WavevisionUploader.init(options),
);
The init
function options
argument is an object with these properties:
Name | Type | Description |
---|---|---|
link
|
object
|
Properties:
|
messages |
Messages | undefined |
See Custom messages for more info |