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

Documentation for #50 - setParent and getDomElement #53

Merged
merged 2 commits into from
Aug 29, 2014
Merged
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
11 changes: 10 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ngProgress.status();

ngProgress.stop();

// Set's the progressbar percentage. Use a number between 0 - 100.
// Set's the progressbar percentage. Use a number between 0 - 100.
// If 100 is provided, complete will be called.

ngProgress.set();
Expand All @@ -73,6 +73,15 @@ ngProgress.reset();
// Jumps to 100% progress and fades away progressbar.

ngProgress.complete();

// Changes the parent of the DOM element which visualizes the progress bar.

ngProgress.setParent(HTMLElement);

// Gets the DOM element which vsizualizes the progress bar.
// It is wrapped in as jqlite element - https://docs.angularjs.org/api/ng/function/angular.element

ngProgress.getDomElement();
```

##License
Expand Down