Skip to content

woutervroege/file-dropzone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<file-dropzone>

<file-dropzone> is a drag and dropzone. You can drop a file on the dropzone area and the the file will be read using the FileReader API. You can limit the number of accepted file types by using the accept property.

Example

  <file-dropzone
    accept="image/jpeg,audio/mpeg,audio/mp3"
    rejection-timeout="750"
    on-file-added="_onfileAdded"
    on-file-removed="_onfileRemoved"
    on-file-rejected="_onfileRejected"
    file-dragged="{{fileDragged}}"
    file-rejected="{{fileRejected}}"
  ></file-dropzone>

About

Polymer File Dropzone Element

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages