Prompts the user to confirm an action. Can be applied to a form control or a link.
<a class="btn btn-default" data-confirm-options="{"content":"You sure you wanna do that?"}" data-trigger="spinAndConfirm" href="/sandbox/JavaScript/Delegators/Delegator.SpinAndConfirm">Reload this page</a>
You can set options for data-confirm-options
(per Delegator.Confirm)
and data-spinonclick-options
(per Delegator.SpinOnClick)
and they'll be used (as in the example above).