ic-on-complete - JQuery AJAX Request life cycle attribute


This attribute is a javascript expression that will be evaluated after an AJAX request is completed on behalf of Intercooler, regardless of status. It corresponds to the complete property in JQuery's ajax() method.


This attribute is a valid javascript expression, evaluated within an isolated scope.

This attribute may be placed on parent elements, allowing you to specify behavior across multiple elements.

Available symbols are:

  • status - The AJAX status object
  • xhr - The XHR object

The ic-on-complete 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.