@synergy-design-system/angular
Version:
Angular wrappers for the Synergy Design System
42 lines (39 loc) • 1.84 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, NgZone } from '@angular/core';
import { SynProgressRing } from '@synergy-design-system/components';
/**
* @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-progress-ring--docs
* @status stable
* @since 2.0
*
* @slot - A label to show inside the ring.
*
* @csspart base - The component's base wrapper.
* @csspart label - The progress ring label.
*
* @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
* @cssproperty --track-width - The width of the track.
* @cssproperty --track-color - The color of the track.
* @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
* @cssproperty --indicator-color - The color of the indicator.
* @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
*/
declare class SynProgressRingComponent {
nativeElement: SynProgressRing;
private _ngZone;
constructor(e: ElementRef, ngZone: NgZone);
/**
* The current progress as a percentage, 0 to 100.
*/
set value(v: SynProgressRing['value']);
get value(): SynProgressRing['value'];
/**
* A custom label for assistive devices.
*/
set label(v: SynProgressRing['label']);
get label(): SynProgressRing['label'];
static ɵfac: i0.ɵɵFactoryDeclaration<SynProgressRingComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SynProgressRingComponent, "syn-progress-ring", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
}
export { SynProgressRingComponent };