mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 01:15:35 +00:00
| Package | Version | Package | Version | | ----------------- | ------- | ----------------- | ------- | | @uppy/angular | 0.2.7 | @uppy/store-redux | 2.0.3 | | @uppy/audio | 0.2.1 | @uppy/svelte | 1.0.6 | | @uppy/aws-s3 | 2.0.7 | @uppy/vue | 0.4.4 | | @uppy/companion | 3.1.3 | @uppy/xhr-upload | 2.0.7 | | @uppy/core | 2.1.4 | @uppy/robodog | 2.1.5 | | @uppy/dashboard | 2.1.3 | uppy | 2.3.1 | | @uppy/locales | 2.0.5 | | | - meta: update npm deps (Antoine du Hamel / #3352) - @uppy/companion: fix Dockerfile and deploy automation (Mikael Finstad / #3355) - @uppy/companion: don’t pin Yarn version in `package.json` (Antoine du Hamel / #3347) - @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: deps: use `nanoid/non-secure` to workaround react-native limitation (Antoine du Hamel / #3350) - @uppy/audio: showRecordingLength option was removed, always clearInterval (Artur Paikin / #3351) - meta: drop `stringify-object` dependency to generate locales (Antoine du Hamel / #3344) - meta: add release automations (Antoine du Hamel / #3304)
23 lines
814 B
HTML
23 lines
814 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title></title>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="https://releases.transloadit.com/uppy/v2.3.1/uppy.min.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<button id="uppyModalOpener">Open Modal</button>
|
|
<script src="https://releases.transloadit.com/uppy/v2.3.1/uppy.min.js"></script>
|
|
<script>
|
|
const uppy = new Uppy.Core({debug: true, autoProceed: false})
|
|
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
|
|
.use(Uppy.Webcam, {target: Uppy.Dashboard})
|
|
.use(Uppy.Tus, { endpoint: 'https://tusd.tusdemo.net/files/' })
|
|
|
|
uppy.on('success', (fileCount) => {
|
|
console.log(`${fileCount} files uploaded`)
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|