Update README.md

Small changes
This commit is contained in:
Joe Vu 2016-06-24 17:00:24 -07:00 committed by GitHub
parent 0850191d77
commit 17749e3e3e

View File

@ -41,7 +41,7 @@ email.set('attachment', fileObject);
email.save();
email.on('progress', console.log);
email.on('progress', function(evt) { console.log(evt) });
// Will result: with an event object you can use evt.loaded and evt.total to figure out the percent (i.e. 0.3233)
```