@datametria/vue-components
Version:
DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system
42 lines (41 loc) • 1.34 kB
TypeScript
interface Props {
modelValue?: string;
placeholder?: string;
disabled?: boolean;
readonly?: boolean;
rows?: number;
maxlength?: number;
showWordLimit?: boolean;
autosize?: boolean | {
minRows?: number;
maxRows?: number;
};
}
declare const _default: import('vue').DefineComponent<Props, {
focus: () => void | undefined;
blur: () => void | undefined;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
input: (value: string) => any;
"update:modelValue": (value: string) => any;
focus: (event: FocusEvent) => any;
blur: (event: FocusEvent) => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onInput?: ((value: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
onFocus?: ((event: FocusEvent) => any) | undefined;
onBlur?: ((event: FocusEvent) => any) | undefined;
}>, {
disabled: boolean;
modelValue: string;
placeholder: string;
readonly: boolean;
rows: number;
showWordLimit: boolean;
autosize: boolean | {
minRows?: number;
maxRows?: number;
};
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
textareaRef: HTMLTextAreaElement;
}, HTMLDivElement>;
export default _default;