@ng-zi/extensions-loader
v0.0.2
Published
Angular Material Extensions for Loader
Downloads
1
Readme
Loader
API reference for Material Extensions Loader
import { MtxLoaderModule } from '@ng-zi/extensions/loader';
Directives
MtxLoader
Selector: [mtx-loader]
Exported as: mtxLoader
Properties
| Name | Description |
| :--- | :--- |
| @Input()
type: MtxLoaderType
| The loader's type. Default is 'spinner'
. |
| @Input()
loading: boolean
| Whether the loader is loading. |
| @Input()
color: ThemePalette
| Theme color palette for the component. |
| @Input()
mode:ProgressSpinnerMode \| ProgressBarMode
| Mode of the progress circle or the progress bar. |
| @Input()
value: number
| Value of the progress circle or the progress bar. |
| @Input()
strokeWidth: number
| Stroke width of the spinner loader. Default is 4
. |
| @Input()
diameter: number
| The diameter of the spinner loader (will set width and height of svg). Default is 48
. |
| @Input()
bufferValue: number
| Buffer value of the progressbar loader. Default is 0
. |
| @Input()
hasBackdrop: boolean
| Whether the loader has a backdrop. Default is true
. |
Type aliases
MtxLoaderType
type MtxLoaderType = 'spinner' | 'progressbar';