UNPKG

@synergy-design-system/angular

Version:
47 lines (44 loc) 2.04 kB
import * as i0 from '@angular/core'; import { ElementRef, NgZone } from '@angular/core'; import { SynProgressBar } from '@synergy-design-system/components'; /** * @summary Progress bars are used to show the status of an ongoing operation. * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-progress-bar--docs * @status stable * @since 2.0 * * @slot - A label to show inside the progress indicator. * * @csspart base - The component's base wrapper. * @csspart indicator - The progress bar's indicator. * @csspart label - The progress bar's label. * * @cssproperty --height - The progress bar's height. * @cssproperty --track-color - The color of the track. * @cssproperty --indicator-color - The color of the indicator. * @cssproperty --label-color - The color of the label. * @cssproperty --speed - The speed of the progress bar when in indeterminate state. */ declare class SynProgressBarComponent { nativeElement: SynProgressBar; private _ngZone; constructor(e: ElementRef, ngZone: NgZone); /** * The current progress as a percentage, 0 to 100. */ set value(v: SynProgressBar['value']); get value(): SynProgressBar['value']; /** * When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */ set indeterminate(v: '' | SynProgressBar['indeterminate']); get indeterminate(): SynProgressBar['indeterminate']; /** * A custom label for assistive devices. */ set label(v: SynProgressBar['label']); get label(): SynProgressBar['label']; static ɵfac: i0.ɵɵFactoryDeclaration<SynProgressBarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SynProgressBarComponent, "syn-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>; } export { SynProgressBarComponent };