Giter Club home page Giter Club logo

edgejs's Introduction

Edge.js - JavaScript FileUploader

#Edge.js is a pain-free piece of JavaScript allowing you to add file uploads to your site. It is developed to replace any other recent file uploaders and can easily substitute most of your current implementations with just a few lines of code.

It supports auto-upload, form-driven upload, type-checking, cross-browser functionality and a bunch of other features.

Edge.js is currently built on a basis of JQuery and JQuery UI. Pleas note: Edge.js is not a JQuery Plugin as I want to leave the option to use another framework that supports similar selectors.

##Documentation Well, you are currently looking at it. If you're at the GitHub site right now, go into dist/docs/index.html to find the full-fledged documentation.

If you just want to know how to put it on your site then take a look at the Edge.create(..) function. If you want to get deep into detail (wow, you're a geek) click your way through Edge.FileUploader.

##Examples

Simple Multiuploadenabled uploader

HTML

<div id="uploader"></div>

JS

<script>
Edge.create({
  receiver: '#uploader',
  fileName: 'file',
  multiUpload: true,
  processors: {
    //any type of callback functions go here
  }
});
</script>

Server

Your server needs to tell the Uploader which Files have been uploaded so that syncing between Frontend and Backend works like a charm. Every Serverrequest will send domUploadIds as variable to the server.

Any response must be in the format

`{success: [boolean], files: [{'domUploadId'=>'uploadidgiven_1'},{'domUploadId'=>'uploadidgiven_2'}]}`

edgejs's People

Contributors

activenode avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.