vue-bare
Version:
**Unstyled Vue components for frustration-free human interactions**
39 lines (38 loc) • 1.31 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;
modelValue?: string;
value?: string;
}
interface Props extends TextAreaBareProps {
class: ClassValue;
}
declare const _default: import('vue').DefineComponent<Props, {
focus: () => void;
blur: () => void;
click: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
focus: (event: FocusEvent) => any;
blur: (event: FocusEvent) => any;
"update:modelValue": (value: string) => any;
keypress: (event: KeyboardEvent) => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onFocus?: (event: FocusEvent) => any;
onBlur?: (event: FocusEvent) => any;
"onUpdate:modelValue"?: (value: string) => any;
onKeypress?: (event: KeyboardEvent) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
element: HTMLTextAreaElement;
}, HTMLTextAreaElement>;
export default _default;