UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

14 lines (13 loc) 736 B
import { Numberish } from '../types/CommonTypes'; import { Ref } from 'vue'; import { CommonInputProps } from '../types/FormCommonInputProps'; export declare const useFormInput: (props: Readonly<CommonInputProps>, modelValue: Ref<Numberish | null>, modelModifiers: Record<"number" | "lazy" | "trim", true | undefined>) => { input: Ref<HTMLInputElement | null, HTMLInputElement | null>; computedId: import('vue').ComputedRef<string>; computedAriaInvalid: import('vue').ComputedRef<"grammar" | "spelling" | "true" | "false" | undefined>; onInput: (evt: Readonly<Event>) => void; onChange: (evt: Readonly<Event>) => void; onBlur: (evt: Readonly<FocusEvent>) => void; focus: () => void; blur: () => void; };