spinner/src/spinner/spinner.component.ts
Developer Preview: – This component is in an early stage of development and may undergo breaking changes. Feedback welcome!
Spinner component displays a loading indicator.
<!-- Default medium spinner with primary color -->
<talenra-spinner /><!-- Small spinner -->
<talenra-spinner size="s" />
<!-- White spinner -->
<talenra-spinner color="white" />import { SpinnerComponent } from '@talenra/components/spinner';| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | talenra-spinner |
| styleUrls | ./spinner.component.scss |
| templateUrl | ./spinner.component.html |
Inputs |
| color |
Type : TSpinnerColor
|
Default value : SpinnerColor.Primary
|
|
Controls the color theme of the spinner to match your background context. Example :See SpinnerColor |
| size |
Type : TSpinnerSize
|
Default value : SpinnerSize.M
|
|
Controls the size of the spinner for different UI contexts. Example :See SpinnerSize |