ic-confirm - The Confirm Attribute


The ic-confirm attribute tells Intercooler to confirm the action with the user using the string of the attribute and the javascript confirm() function.

This can be useful when you want to confirm destructive operations, such as a delete.


The value of the ic-verb attribute should be a string asking the user to confirm the given action.

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


The ic-confirm attribute has no effect on dependencies.


  <button ic-post-to="/target_url" ic-confirm="Are you sure?">Click Me!</button>