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) • 493 B
TypeScript
import { Numberish } from '../types/CommonTypes';
import { CSSProperties, MaybeRefOrGetter, ShallowRef } from 'vue';
export declare const useTextareaResize: (input: Readonly<ShallowRef<HTMLTextAreaElement | null>>, props: MaybeRefOrGetter<{
rows: Numberish;
maxRows: Numberish | undefined;
noAutoShrink: boolean;
}>) => {
onInput: () => Promise<void>;
computedStyles: import('vue').ComputedRef<CSSProperties>;
computedRows: import('vue').ComputedRef<number | null>;
};