UNPKG

bootstrap-vue-next

Version:

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

12 lines (11 loc) 556 B
import { Numberish } from '../types/CommonTypes'; import { CSSProperties, MaybeRefOrGetter, ShallowRef } from 'vue'; export declare const useTextareaResize: (input: Readonly<ShallowRef<HTMLTextAreaElement | null>>, { maxRows, noAutoShrink, rows, }: { rows: MaybeRefOrGetter<Numberish>; maxRows: MaybeRefOrGetter<Numberish | undefined>; noAutoShrink: MaybeRefOrGetter<boolean>; }) => { onInput: () => Promise<void>; computedStyles: import('vue').ComputedRef<CSSProperties>; computedRows: import('vue').ComputedRef<number | null>; };