https://github.com/dxcweb/react-loading-func
react版本loading函数,通过loading.show()和loading.hide()来控制loading的显示和隐藏
https://github.com/dxcweb/react-loading-func
Last synced: about 1 year ago
JSON representation
react版本loading函数,通过loading.show()和loading.hide()来控制loading的显示和隐藏
- Host: GitHub
- URL: https://github.com/dxcweb/react-loading-func
- Owner: dxcweb
- Created: 2016-11-18T03:46:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-05T01:38:02.000Z (over 9 years ago)
- Last Synced: 2025-05-07T21:07:15.822Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-loading-func
react版本loading函数,通过loading.show()和loading.hide()来控制loading的显示和隐藏
## install
```
npm install react-loading-func --save
```
## Development
```
npm install
npm start
```
## Example
[http://github.dxcweb.com/react-loading-func/](http://github.dxcweb.com/react-loading-func/ "http://github.dxcweb.com/react-loading-func/")
## Usage
loading.show()
loading.hide()
## API
loading.show(title,options)
###options
options={
ratio:1
}