jb-form
Version:
form web component with extended feature like validation and dirty check
8 lines • 423 B
TypeScript
import type { CheckValidityAsyncResult } from "./types";
/**
* get the jbCheckValidity method result and extract invalid elements dom, you can scroll to the dom or play some animation for dom
* @param result result of jbCheckValidity method
* @returns list of HTMLElement of invalid doms
*/
export declare function getInvalidElements(result: CheckValidityAsyncResult): HTMLElement[];
//# sourceMappingURL=utils.d.ts.map