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


This attribute is a javascript expression that will be evaluated before an AJAX request is initiated on behalf of Intercooler. It is evaluated before the normal intercooler trigger logic is executed. If the expression returns false, intercooler will not execute the triggered action.


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:

  • evt - The jQuery event object
  • elt - The element that was triggered

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