Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanthink-ued/core-image-xhr
a simple xhr handler
https://github.com/vanthink-ued/core-image-xhr
Last synced: 6 days ago
JSON representation
a simple xhr handler
- Host: GitHub
- URL: https://github.com/vanthink-ued/core-image-xhr
- Owner: Vanthink-UED
- Created: 2017-05-19T02:05:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T10:46:54.000Z (9 months ago)
- Last Synced: 2024-10-28T15:30:06.679Z (16 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### core-image-xhr
a simple image ajax handler
### Start
``` bash
npm i core-image-xhr --save
`````` js
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