3.0.7 • Published 4 years ago
@videowiki/vw-translate v3.0.7
Videowiki Translate web component
<vw-translate></vw-translate>
This web component is part of www.videowiki.org and used for the translation stage
Usage:
Include the following script in you page
<script src="https://videowiki-microapps.s3-eu-west-1.amazonaws.com/vw-translate/v1.0.0.js" async />
Use the web component vw-proofread
anywhere on the page with the following properties
<vw-translate apiKey="" apiRoot="" articleId=""></vw-translate>
`
Properties
- apiKey: Obtain an API key for your organization from the dashboard on www.videowiki.org
- apiRoot: The API to which the component will communicate, for integration with videowiki's original API use https://api.videowiki.org/api
- articleId: the
_id
field of the article that is to be translated - backRoute: the location/route to which the component should redirect when the user press the back button.