UNPKG

ajsfw

Version:
28 lines (27 loc) 1.88 kB
import { IViewComponent } from "ajsfw/mvvm"; export declare function defined(object: any): boolean; export declare function isNull(object: any): boolean; export declare function definedAndNotNull(object: any): boolean; export declare function isInputElement(element: HTMLElement): boolean; export declare function isHiddenInputElement(element: HTMLElement): boolean; export declare function isTextInputElement(element: HTMLElement): boolean; export declare function isPasswordInputElement(element: HTMLElement): boolean; export declare function isRadioInputElement(element: HTMLElement): boolean; export declare function isCheckboxInputElement(element: HTMLElement): boolean; export declare function isButtonInputElement(element: HTMLElement): boolean; export declare function isImageInputElement(element: HTMLElement): boolean; export declare function isFileInputElement(element: HTMLElement): boolean; export declare function isResetInputElement(element: HTMLElement): boolean; export declare function isSubmitInputElement(element: HTMLElement): boolean; export declare function getDomEventTargetOwnerComponent<T extends IViewComponent>(target: EventTarget): T; export declare function getClassName(obj: any): string; export declare function getES6ClassName(obj: any): string; export declare function getFunctionParameterNames(f: Function): string[]; export declare function getES6ClassConstructorParams(f: Function): string[]; export declare function minDate(): Date; export declare function maxDate(): Date; export declare function ie10UTCDate(date: Date): string; export declare function escapeRegExp(str: string): string; export declare function replaceAll(str: string, searchValue: string, replaceValue: string): string; export declare function nextTickAsync(howLong?: number): Promise<void>; export declare function extend(d: any, b: any): void;