ic-on-beforeSend- JQuery AJAX Request life cycle attribute
of Intercooler. It corresponds to the
beforeSend property in JQuery's
This attribute may be placed on parent elements, allowing you to specify behavior across multiple elements.
Available symbols are:
data- The data to be send to the server
settings- The AJAX settings object
xhr- The XHR object
ic-on-beforeSend can be placed on an parent element, allowing general request processing
for an entire page. Intercooler will find the closest element with this attribute and evaluate it.