Skip to content

Vanthink-UED/core-image-xhr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published