dva-loading
Auto loading data binding plugin for dva.
Last updated 7 years ago by sorrycc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (2 years ago)
  • 2.1.0-beta.2                                ...           next (8 years ago)

47 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |