How to use the @uppy/robodog.dashboard function in @uppy/robodog

To help you get started, we’ve selected a few @uppy/robodog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github transloadit / uppy / examples / transloadit / main.js View on Github external
fields: ['message'],
  restrictions: {
    allowedFileTypes: ['.png']
  },
  waitForEncoding: true,
  note: 'Only PNG files please!',
  params: {
    auth: { key: TRANSLOADIT_KEY },
    template_id: TEMPLATE_ID
  },
  dashboard: '#dashboard-form .dashboard'
})

window.formUppyWithDashboard = formUppyWithDashboard

const dashboard = robodog.dashboard('#dashboard', {
  debug: true,
  waitForEncoding: true,
  note: 'Images will be resized with Transloadit',
  params: {
    auth: { key: TRANSLOADIT_KEY },
    template_id: TEMPLATE_ID
  }
})

window.dashboard = dashboard

/**
 * robodog.modal
 */

function openModal () {

@uppy/robodog

Transloadit SDK for browsers based on Uppy

MIT
Latest version published 2 years ago

Package Health Score

70 / 100
Full package analysis