bootstrap-vue-wrapper
Version:
Bootstrap 5 components in Vue3 wrapper.
10 lines (9 loc) • 317 B
TypeScript
import { Ref } from 'vue';
/**
* @deprecated Use @zemkogabor/vue-form-validator instead of this file.
*/
export declare function useValidator(inputRef: Ref<HTMLInputElement | null>): {
onInvalid: (event: Event) => void;
getInvalidMessage: () => string | null;
setCustomError: (data: string) => void;
};