@aurelia-mdc-web/circular-progress
Version:
Wrapper for Material Components Web Circular Progress
35 lines (34 loc) • 1.09 kB
TypeScript
import { MdcComponent } from '@aurelia-mdc-web/base';
import { MDCCircularProgressFoundation } from '@material/circular-progress';
/**
* @selector mdc-circular-progress
*/
export declare class MdcCircularProgress extends MdcComponent<MDCCircularProgressFoundation> {
private determinateCircle_?;
radius: number;
strokeDasharray: number;
strokeDashoffset: number;
/** Size in pixels */
size: number;
sizeChanged(): void;
/** Stroke width in pixels */
strokeWidth: number;
strokeWidthChanged(): void;
/** The current progress value, which must be between 0 and 1 or undefined for an indeterminate spinner */
progress?: number;
progressChanged(): Promise<void>;
bind(): void;
updateSizeAndStroke(): void;
initialise(): Promise<void>;
getDefaultFoundation(): MDCCircularProgressFoundation;
}
/** @hidden */
export interface IMdcCircularProgressElement extends HTMLElement {
checked: boolean;
indeterminate: boolean;
au: {
controller: {
viewModel: MdcCircularProgress;
};
};
}