projects/congarevenuecloud/elements/src/lib/icon/spinner/spinner.component.ts
An animated spinner built from the bootstrap library to be used to show loading status.
import { IconModule } from '@congarevenuecloud/elements';
@NgModule({
imports: [IconModule, ...]
})
export class AppModule {}
// Basic usage
```typescript
<apt-spinner></apt-spinner>
// Small spinner
```typescript
<apt-spinner [large]="false"></apt-spinner>
// Change color of spinner with bootstrap text color class.
Example :<apt-spinner color="text-warning"></apt-spinner>
changeDetection | ChangeDetectionStrategy.OnPush |
selector | apt-spinner |
styles |
.spinner-width{
border-radius: 50%
}
|
template |
|
Inputs |
large |
Type : boolean
|
Default value : true
|
Flag to set the dots to a larger size. |
.spinner-width{
border-radius: 50%
}