core-image-xhr-c
v1.0.4
Published
a simple xhr handler
Downloads
4
Readme
core-image-xhr
a simple image ajax handler
Start
npm i core-image-xhr --save
import xhr from 'core-image-xhr';
xhr(method, url, header, data, successCallback, errorCallback);
method 'POST' or 'GET'
url
header Object
data Object
successCallback function
errorCallback function