UNPKG

@syncfusion/ej2-progressbar

Version:
42 lines (41 loc) 1.13 kB
import { ProgressBar } from '../progressbar'; import { ProgressAnnotationSettings } from './progress-base'; import { AnnotationBase } from './annotation'; /** * Class for progress annotation */ export declare class ProgressAnnotation extends AnnotationBase { private progress; private annotations; parentElement: HTMLElement; private animation; /** * Constructor for ProgressBar annotation * * @private * @param {ProgressBar} control Passed the control * @param {annotations} annotations ProgressAnnotationSettings */ constructor(control: ProgressBar, annotations: ProgressAnnotationSettings[]); /** * Method to render the annotation for ProgressBar * * @param {Element} element Annotation element. * @returns {void} * @private */ renderAnnotations(element: Element): void; /** * Get module name. * * @returns {string} - Returns the module name. */ protected getModuleName(): string; /** * To destroy the annotation. * * @returns {void} * @private */ destroy(): void; }