abp icon indicating copy to clipboard operation
abp copied to clipboard

How do I configure abp.ajax global interception?

Open beefsteak opened this issue 5 years ago • 1 comments

Like this: $.ajaxSetup({ beforeSend: function(xhr, settings) { // Do something with 'element' and 'event'... } });

beefsteak avatar Apr 21 '21 16:04 beefsteak

You can change the abp.ajax.defaultOpts.

https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Ajax#default-ajax-options

maliming avatar Apr 22 '21 01:04 maliming