# UIB LoadingIndicatorModule

## Prequisites

Add the `LoadingIndicatorModule` module to your module imports:

```TS
import { LoadingIndicatorModule } from '@uib/angular';

@NgModule({
  imports: [
    // ...
    LoadingIndicatorModule,
    // ...
  ],
})
// ...
```

## UibLoadingIndicator

The loading indicator auto detects it's background color by traversing the DOM tree upwards until
it finds a parent element with a none transparent background color.

### Examples

```HTML
<uib-loading-indicator>
</uib-loading-indicator>
```

Auto detect nearest parent with scrollbar

```HTML
<uib-loading-indicator parent="auto">
</uib-loading-indicator>
```
