Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ cfpLoadingBar.inc();
// the progress increases. This is to prevent the loading bar from appearing
// completed (or almost complete) before the XHR request has responded.

cfpLoadingBar.set(0.3) // Set the loading bar to 30%
cfpLoadingBar.status() // Returns the loading bar's progress.
cfpLoadingBar.set(0.3); // Set the loading bar to 30%
cfpLoadingBar.status(); // Returns the loading bar's progress.
// -> 0.3

cfpLoadingBar.complete()
cfpLoadingBar.complete();
// Set the loading bar's progress to 100%, and then remove it from the DOM.

```
Expand Down