Robodog
playground
This page contains small examples for every API offered by the Robodog library. Please see the Github repository for the source code.
robodog.form()
The form API allows you to easily send files through Transloadit's encoding backend. When the user submits the form, any files are uploaded to Transloadit. The form data is then sent to your own backend, with additional data about the Transloadit Assemblies that were started.
robodog.form() with dashboard
You can also use the Dashboard UI inside a plain old HTML form by specifying a dashboard: '.target-css-selector'
option.
robodog.dashboard()
The robodog.dashboard
API allows you to embed a Dashboard at any location. Users can continuously upload files through this UI, so please make sure this fits your use case!
robodog.pick()
This API is a one-shot upload UI using a modal overlay. Call the function and receive a Promise with upload results ✌️
robodog.upload()
An <input type=file> backed by robodog.upload
: