Skip to content
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