- Source:
Methods
(static) ajaxAll(argument) → {Promise}
Gets a single Promise that resolves all $.ajax functions.
- Source:
Gets a single Promise that resolves all $.ajax functions.
Example
$.ajaxAll($.get(...), $.post(...), $.ajax(...)).then(function(values){}, function(rejections){});
$.ajaxAll($.get(...));
Parameters:
Name | Type | Description |
---|---|---|
argument |
jqXhr | A jqXhr such as $.ajax({}) |
... |
jqXhr | more |
Returns:
A single promise.
- Type
- Promise
(static) toggleScroll()
Enables/disables window scrolling.
- Source:
Enables/disables window scrolling.
Example
$.toggleScroll();