Skip to content

Commit bb7c6ee

Browse files
Add positioning documentation ref #314, #309
1 parent 7db32ae commit bb7c6ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ angular.module('myApp', ['angular-loading-bar'])
103103
<div id="loading-bar-container"></div>
104104
```
105105

106+
Also keep in mind you'll likely want to change the CSS to reflect it's new position, so you'll need to override the default CSS:
107+
```css
108+
#loading-bar .bar {
109+
position: absolute;
110+
}
111+
```
112+
106113
#### Latency Threshold
107114
By default, the loading bar will only display after it has been waiting for a response for over 100ms. This helps keep things feeling snappy, and avoids the annoyingness of showing a loading bar every few seconds on really chatty applications. This threshold is totally configurable:
108115

0 commit comments

Comments
 (0)