Skip to content

SiestaCat/js-file-input-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-input-event Version Badge

License Downloads

npm badge

Get the byte length of an ArrayBuffer, even in engines without a .byteLength method.

Example

const FileInputEvent = require('file-input-event');

let file_input_event = new FileInputEvent('#file-input', '#button_clear').setReadyStatusCallback((ready, files, size) => {

    if(ready)
    {
        console.log("Ready");
    }

    if(!ready)
    {
        console.log("NOT Ready");
    }
});

Tests

Simply clone the repo, npm install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published