Skip to content

Commit

Permalink
Merge pull request #53 from gngeorgiev/master
Browse files Browse the repository at this point in the history
Documentation for #50 - setParent and getDomElement
  • Loading branch information
dasois committed Aug 29, 2014
2 parents ce02797 + c5d3ffa commit ec81f10
Showing 1 changed file with 10 additions and 1 deletion.
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

0 comments on commit ec81f10

Please sign in to comment.