various-ui
Version:
This is a test version of the Vue 3 component library
50 lines (49 loc) • 1.5 kB
TypeScript
import { ExtractPropTypes, PropType } from "vue";
export declare const UiTextareaPropsOption: {
readonly placeholder: {
readonly type: StringConstructor;
};
readonly modelValue: {
readonly type: PropType<string | number>;
readonly required: true;
};
readonly maxlength: {
readonly type: NumberConstructor;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly loading: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly height: {
readonly type: PropType<string | number>;
};
readonly width: {
readonly type: PropType<string | number>;
};
readonly name: {
readonly type: StringConstructor;
};
readonly rows: {
readonly type: NumberConstructor;
readonly default: 3;
};
};
export type UiTextareaProps = ExtractPropTypes<typeof UiTextareaPropsOption>;
export declare const UiTextareaEmits: {
"update:modelValue": (_data: any) => boolean;
change: (_ev: Event) => boolean;
clear: () => boolean;
input: (_ev: InputEvent | Event) => boolean;
click: (_ev: PointerEvent | Event) => boolean;
enter: (_ev: KeyboardEvent | Event) => boolean;
focus: (_ev?: FocusEvent | Event) => boolean;
blur: (_ev?: FocusEvent | Event) => boolean;
};