@trendyol/baklava
Version:
Trendyol Baklava Design System
35 lines • 1.28 kB
TypeScript
export declare const innerInputValidators: {
key: keyof ValidityState;
isValid(instance: HTMLElement & {
validationTarget: HTMLInputElement;
}): boolean;
}[];
export declare const textareaLengthValidator: {
isValid(instance: HTMLElement & {
validationTarget: HTMLTextAreaElement;
}): boolean;
attribute?: string | string[] | undefined;
key?: keyof ValidityState | undefined;
message: string | import("@open-wc/form-control").validationMessageCallback;
} | {
isValid(instance: HTMLElement & {
validationTarget: HTMLTextAreaElement;
}): boolean;
attribute?: string | string[] | undefined;
key?: keyof ValidityState | undefined;
message: string | import("@open-wc/form-control").validationMessageCallback;
};
export declare const textAreaValidators: ({
key: keyof ValidityState;
isValid(instance: HTMLElement & {
validationTarget: HTMLInputElement;
}): boolean;
} | {
isValid(instance: HTMLElement & {
validationTarget: HTMLTextAreaElement;
}): boolean;
attribute?: string | string[] | undefined;
key?: keyof ValidityState | undefined;
message: string | import("@open-wc/form-control").validationMessageCallback;
})[];
//# sourceMappingURL=form-control.d.ts.map