@limetech/lime-elements
Version:
37 lines • 1.29 kB
TypeScript
import { Languages } from '../date-picker/date.types';
/**
* The linear progress component can be used to visualize the current state of a progress in a scale;
* for example percentage of completion of a task.
*
* @exampleComponent limel-example-linear-progress-basic
* @exampleComponent limel-example-linear-progress-indeterminate
* @exampleComponent limel-example-linear-progress-accessible-label
* @exampleComponent limel-example-linear-progress-color
*/
export declare class LinearProgress {
/**
* Defines the language for translations.
* Will translate the translatable strings on the components.
*/
language: Languages;
/**
* The value of the progress bar. Should be between `0` and `1`.
*/
value: number;
/**
* Puts the progress bar in an indeterminate state
*/
indeterminate: boolean;
/**
* A label used to describe the purpose of the element to users
* of assistive technologies, like screen readers.
* If not provided, the generic word of "Progress bar" will be used.
*/
accessibleLabel?: string;
private host;
render(): any;
protected watchValue(newValue: number): void;
private updateProgress;
private isFinite;
}
//# sourceMappingURL=linear-progress.d.ts.map