1.0.17 • Published 4 years ago

mm3p-uploader v1.0.17

Weekly downloads
19
License
MIT
Repository
github
Last release
4 years ago

npm version

mm3p-uploader

file uploader with pure js

demo image

demo

install

npm install mm3p-uploader

usage

import mm3p from 'mm3p-uploader'

// simple
 mm3p(element)

// <div id="file_application"></div>
// with ajax
 mm3p('file_application', {
            url: remote_host + "/api/file/upload/",
            method: "PUT",
            headers: {
                "Authorization": "Authorization " + token,
                "Accept": "application/json",
                "X-Requested-With": "XMLHttpRequest"
            },
            success: function(e) {
                console.log(e)
            },
            error: function(e) {
                console.log(e)
            }
        })
1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago