loader

App loader

Assets Loader, wrap around $.ajax
Author:
  • Deux Huit Huit <https://deuxhuithuit.com>
License:
  • MIT
Source:

Methods

(static) inQueue(url) → {Boolean}

Check if a given url is in the queue
Source:
Parameters:
Name Type Description
url Object Url object to check
Returns:
Type:
Boolean

(static) isLoading(url) → {Boolean}

Check if a given url is loading (Only GET request)
Source:
Parameters:
Name Type Description
url Object Url object to check
Returns:
Type:
Boolean

(static) load(url, priority)

Put the request in the queue and trigger the load
Source:
This:
Parameters:
Name Type Description
url Object Url Object
priority Integer
Returns:
this

(static) working() → {Boolean}

Get the flag if the loader is working or not
Source:
Returns:
Type:
Boolean