1.0.5 • Published 2 months ago
core-image-xhr v1.0.5
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