jQuery Ajax Progress
Lightweight jQuery plugin that adds support of
uploadProgress promises to $.ajax()
npm install jq-ajax-progress
git clone email@example.com:likerRr/jq-ajax-progress.git
How to use
src/jq-ajax-progress.min.js inside your html after
When you have to send a chunked data to client in some cases it would be good to track what part have just received. For this purposes use boolean option
false by default). If it's set as
true, then the second parameter in callback function will be a chunk part.
By default all chunked response contains whole text response that already received and you should manually cut it if you need to do something with parts. One of a possible case when you send big text or media response from server to client and you don't want your client wait for whole response.
Keep in mind, that under the hood whole response is being cut from the beginning (from zero index) until last part's occurrence, so big amount of data (theoretically) may cause a performance troubles. But... just keep in mind :)
npm install && npm run build
This will minify library and put it inside