jqwidgets-ng
Version:
[](https://jqwidgets.com/license/)
56 lines (55 loc) • 2.69 kB
TypeScript
/// <reference path="../jqwidgets.d.ts" />
import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class jqxValidatorComponent implements OnChanges {
attrArrow: boolean;
attrAnimation: string;
attrAnimationDuration: number;
attrCloseOnClick: boolean;
attrFocus: boolean;
attrHintType: string;
attrOnError: () => void;
attrOnSuccess: () => void;
attrPosition: string;
attrRules: Array<jqwidgets.ValidatorRule>;
attrRtl: boolean;
attrWidth: string | number;
attrHeight: string | number;
autoCreate: boolean;
properties: string[];
host: any;
elementRef: ElementRef;
widgetObject: jqwidgets.jqxValidator;
constructor(containerElement: ElementRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): boolean;
arraysEqual(attrValue: any, hostValue: any): boolean;
manageAttributes(): any;
moveClasses(parentEl: HTMLElement, childEl: HTMLElement): void;
moveStyles(parentEl: HTMLElement, childEl: HTMLElement): void;
createComponent(options?: any): void;
createWidget(options?: any): void;
__updateRect__(): void;
setOptions(options: any): void;
arrow(arg?: boolean): boolean;
animation(arg?: string): string;
animationDuration(arg?: number): number;
closeOnClick(arg?: boolean): boolean;
focus(arg?: boolean): boolean;
hintType(arg?: string): string;
onError(arg?: () => void): () => void;
onSuccess(arg?: () => void): () => void;
position(arg?: string): string;
rules(arg?: Array<jqwidgets.ValidatorRule>): Array<jqwidgets.ValidatorRule>;
rtl(arg?: boolean): boolean;
hideHint(id: string): void;
hide(): void;
updatePosition(): void;
validate(htmlElement?: any): void;
validateInput(id: string): void;
onValidationError: EventEmitter<any>;
onValidationSuccess: EventEmitter<any>;
__wireEvents__(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<jqxValidatorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<jqxValidatorComponent, "jqxValidator", never, { "attrArrow": "arrow"; "attrAnimation": "animation"; "attrAnimationDuration": "animationDuration"; "attrCloseOnClick": "closeOnClick"; "attrFocus": "focus"; "attrHintType": "hintType"; "attrOnError": "onError"; "attrOnSuccess": "onSuccess"; "attrPosition": "position"; "attrRules": "rules"; "attrRtl": "rtl"; "attrWidth": "width"; "attrHeight": "height"; "autoCreate": "auto-create"; }, { "onValidationError": "onValidationError"; "onValidationSuccess": "onValidationSuccess"; }, never, ["*"]>;
}