How to use the progress/Progress.done function in progress

To help you get started, we’ve selected a few progress 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 robeio / robe-react-ui / __test__ / progress / Progress.spec.js View on Github external
it("Progress", () => {
        chai.assert.equal(Progress.instance().isStarted(), false);
        Progress.start();
        chai.assert.equal(Progress.instance().isStarted(), true);
        chai.assert.equal(Progress.instance().settings.showSpinner, false);

        Progress.configure({ showSpinner: true });
        chai.assert.equal(Progress.instance().settings.showSpinner, true);

        Progress.done();
        chai.assert.equal(Progress.instance().isStarted(), false);
    });
});
github robeio / robe-react-ui / site / Main.jsx View on Github external
componentDidMount() {
        Progress.done();
    }
github robeio / robe-react-ui / site / index.js View on Github external
componentDidUpdate() {
        Progress.done();
    }
}