mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
syntax highlighting
This commit is contained in:
parent
403726ea5b
commit
ca16d90618
1 changed files with 3 additions and 3 deletions
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
### Plugins
|
||||
1. We should be able to register a plugin with something like:
|
||||
```
|
||||
```javascript
|
||||
transloadit.plugin('dragndrop', function(options) {
|
||||
console.log('dragging and dropping here');
|
||||
});
|
||||
```
|
||||
or:
|
||||
```
|
||||
```javascript
|
||||
transloadit.use(dragndrop, {
|
||||
selector: '.drop'
|
||||
});
|
||||
|
|
@ -22,7 +22,7 @@ or:
|
|||
2. ?
|
||||
|
||||
### Usage
|
||||
```
|
||||
```javascript
|
||||
import transloadit from 'transloadit';
|
||||
import dragndrop from 'transloadit-dragndrop';
|
||||
import dropbox' from 'transloadit-dropbox';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue