dva-loading
Auto loading data binding plugin for dva.
Last updated 6 months ago by sorrycc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install dva-loading 
SYNC missed versions from official npm registry.

dva-loading

NPM version Build Status Coverage Status NPM downloads

Auto loading data binding plugin for dva. :clap: You don't need to write showLoading and hideLoading any more.


Install

$ npm install dva-loading --save

Usage

import createLoading from 'dva-loading';

const app = dva();
app.use(createLoading(opts));

Then we can access loading state from store.

opts

  • opts.namespace: property key on global state, type String, Default loading

See real project usage on dva-hackernews.

State Structure

loading: {
  global: false,
  models: {
    users: false,
    todos: false,
    ...
  },
}

License

MIT

Current Tags

  • 3.0.25                                ...           latest (6 months ago)
  • 2.1.0-beta.2                                ...           next (6 years ago)

47 Versions

  • 3.0.25                                ...           6 months ago
  • 3.0.24                                ...           2 years ago
  • 3.0.23                                ...           2 years ago
  • 3.0.22                                ...           4 years ago
  • 3.0.21                                ...           4 years ago
  • 3.0.20                                ...           5 years ago
  • 3.0.19                                ...           5 years ago
  • 3.0.18                                ...           5 years ago
  • 3.0.17                                ...           5 years ago
  • 3.0.16                                ...           5 years ago
  • 3.0.15                                ...           5 years ago
  • 3.0.14                                ...           5 years ago
  • 3.0.13                                ...           5 years ago
  • 3.0.12                                ...           5 years ago
  • 3.0.11                                ...           5 years ago
  • 3.0.10                                ...           5 years ago
  • 3.0.9                                ...           5 years ago
  • 3.0.8                                ...           5 years ago
  • 3.0.7                                ...           5 years ago
  • 3.0.6                                ...           5 years ago
  • 3.0.5                                ...           5 years ago
  • 3.0.4                                ...           5 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.0.6                                ...           6 years ago
  • 2.1.0-beta.2                                ...           6 years ago
  • 2.1.0-beta.1                                ...           6 years ago
  • 2.0.5                                ...           6 years ago
  • 2.0.4                                ...           6 years ago
  • 2.0.3                                ...           6 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.3                                ...           7 years ago
  • 0.2.1                                ...           8 years ago
  • 0.2.0                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.1.0-beta1                                ...           8 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE