From ec5328253a2cbebd002d532bcaec3e5ac52d5cf3 Mon Sep 17 00:00:00 2001 From: gngeorgiev Date: Thu, 28 Aug 2014 10:57:28 +0300 Subject: [PATCH 1/2] added readme information according to #50 which adds setParent and getDomElement functions --- readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b5a21f0..eba6eee 100644 --- a/readme.md +++ b/readme.md @@ -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(); @@ -73,6 +73,14 @@ 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 From c5d3ffa2c66efba5976f48a705a5b0b089a5ea7c Mon Sep 17 00:00:00 2001 From: gngeorgiev Date: Thu, 28 Aug 2014 10:59:14 +0300 Subject: [PATCH 2/2] split a line so it does not show a scrollbar --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index eba6eee..694a104 100644 --- a/readme.md +++ b/readme.md @@ -78,7 +78,8 @@ ngProgress.complete(); 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 +// 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(); ```