smart-webcomponents-angular
Version:
[](https://jqwidgets.com/license/)
87 lines (86 loc) • 4.73 kB
TypeScript
import { ProgressBar } from './../index';
import { Animation, Orientation } from './../index';
import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core';
import { BaseElement } from './smart.element';
import * as i0 from "@angular/core";
export { Animation, Orientation, ElementRenderMode } from './../index';
export { Smart } from './smart.element';
export { ProgressBar } from './../index';
export declare class ProgressBarComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {
constructor(ref: ElementRef<ProgressBar>);
private eventHandlers;
nativeElement: ProgressBar;
/** @description Creates the component on demand.
* @param properties An optional object of properties, which will be added to the template binded ones.
*/
createComponent(properties?: {}): any;
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
get animation(): Animation | string;
set animation(value: Animation | string);
/** @description Enables or disables the element. */
get disabled(): boolean;
set disabled(value: boolean);
/** @description Sets the value of the Progress bar to indeterminate state(null) and starts the animation. */
get indeterminate(): boolean;
set indeterminate(value: boolean);
/** @description Sets the filling direction of the Progress Bar. */
get inverted(): boolean;
set inverted(value: boolean);
/** @description Sets or gets the unlockKey which unlocks the product. */
get formatFunction(): {
(value: number): string;
};
set formatFunction(value: {
(value: number): string;
});
/** @description Sets or gets the language. Used in conjunction with the property messages. */
get unlockKey(): string;
set unlockKey(value: string);
/** @description Callback, related to localization module. */
get locale(): string;
set locale(value: string);
/** @description Sets progress bars maximum possible value. */
get localizeFormatFunction(): any;
set localizeFormatFunction(value: any);
/** @description Sets an object with string values, related to the different states of passwords strength. */
get max(): number;
set max(value: number);
/** @description Sets progress bars minimum possible value. */
get messages(): any;
set messages(value: any);
/** @description Sets the orientation of the progress bar */
get min(): number;
set min(value: number);
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
get orientation(): Orientation | string;
set orientation(value: Orientation | string);
/** @description Enables/Disabled the label for the Progress Bar. */
get rightToLeft(): boolean;
set rightToLeft(value: boolean);
/** @description Determines the theme. Theme defines the look of the element */
get showProgressValue(): boolean;
set showProgressValue(value: boolean);
/** @description If is set to true, the element cannot be focused. */
get theme(): string;
set theme(value: string);
/** @description Sets or gets the value of the progress bar */
get unfocusable(): boolean;
set unfocusable(value: boolean);
/** @description undefined */
get value(): number;
set value(value: number);
/** @description This event is triggered when the value is changed.
* @param event. The custom event. */
onChange: EventEmitter<CustomEvent>;
get isRendered(): boolean;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
/** @description Add event listeners. */
private listen;
/** @description Remove event listeners. */
private unlisten;
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ProgressBarComponent, "smart-progress-bar, [smart-progress-bar]", ["smart-progress-bar"], { "animation": "animation"; "disabled": "disabled"; "indeterminate": "indeterminate"; "inverted": "inverted"; "formatFunction": "formatFunction"; "unlockKey": "unlockKey"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "max": "max"; "messages": "messages"; "min": "min"; "orientation": "orientation"; "rightToLeft": "rightToLeft"; "showProgressValue": "showProgressValue"; "theme": "theme"; "unfocusable": "unfocusable"; "value": "value"; }, { "onChange": "onChange"; }, never>;
}