How to use the nprogress/nprogress.js.done function in nprogress

To help you get started, we’ve selected a few nprogress examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Xabaril / Esquio / src / Esquio.UI / ClientApp / src / app / core / interceptor.ts View on Github external
responseError: function (error) {
      nprogress.done();
      return Promise.reject(error);
    }
  });
github Ewell-FE / antd-material / src / routers / authority / view / index.js View on Github external
render() {
        const {components, fetching} = this.props.home
        if(!fetching){
            NProgress.done();
        }else{
            NProgress.set(0.4);
        }
        if (!fetching) {
            return (
                <div id="home">
                    
                </div>
            )
        }
        return (
            <div style="{{background:&quot;#EAEBED&quot;}}" id="home">
                <div>
                    <div></div>
                    <div></div>
                    <div></div></div></div>