vue-bare
Version:
**Unstyled Vue components for frustration-free human interactions**
43 lines (42 loc) • 1.48 kB
TypeScript
import { ClassValue } from './types';
export interface TextAreaBareProps {
id: string;
name: string;
placeholder: string;
/**
* @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
*/
spellcheck: boolean;
autofocus?: boolean;
class?: ClassValue;
disabled?: boolean;
maxCharacters?: number;
maxRows?: number;
value?: string;
}
interface Props extends TextAreaBareProps {
class: ClassValue;
}
type __VLS_Props = Props;
declare const model: import('vue').ModelRef<string, string, string, string>;
type __VLS_PublicProps = {
modelValue?: typeof model['value'];
} & __VLS_Props;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
focus: () => void;
blur: () => void;
click: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
focus: (...args: any[]) => void;
keypress: (...args: any[]) => void;
blur: (...args: any[]) => void;
"update:modelValue": (value: string) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onFocus?: (...args: any[]) => any;
"onUpdate:modelValue"?: (value: string) => any;
onKeypress?: (...args: any[]) => any;
onBlur?: (...args: any[]) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
element: HTMLTextAreaElement;
}, HTMLTextAreaElement>;
export default _default;