/orderly-js

A simple Javascript utility library that prioritize ajax requests using fetch

Primary LanguageJavaScriptMIT LicenseMIT

#Orderly-js A simple Javascript utility library that prioritize ajax requests using fetch.

#Description Orderly-js prioritize multiple ajax requests in a single page.

#Installation $ npm install orderly-js

#Usage ##Load the library

##Getting Started ####.start ####..stop

##Configuration ####create ####from

##Callbacks ####.beforeEach(function()) ####.afterEach(callback)

##Make request ####.ajax(url, options = {}) ####.get(url, options = {}) ####.post(url, options = {}) ####.put(url, options = {}) ####.del(url, options = {})

##Request Functions ####.success(callback) ####.fail(callback) ####.then(callback) ####.catch(callback) ####.abort(callback) ####.abortWhen(callback)