UNPKG

tdesign-mobile-vue

Version:
74 lines (73 loc) 2 kB
import { TdTextareaProps } from './type'; import { PropType } from 'vue'; declare const _default: { allowInputOverMax: BooleanConstructor; autofocus: BooleanConstructor; autosize: { type: PropType<boolean | { minRows?: number; maxRows?: number; }>; default: boolean | { minRows?: number; maxRows?: number; }; }; bordered: BooleanConstructor; cursorColor: { type: StringConstructor; default: string; }; disabled: { type: BooleanConstructor; default: any; }; indicator: BooleanConstructor; label: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; layout: { type: PropType<"vertical" | "horizontal">; default: "vertical" | "horizontal"; validator(val: TdTextareaProps['layout']): boolean; }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: PropType<string | number>; }; name: { type: StringConstructor; default: string; }; placeholder: { type: StringConstructor; default: any; }; readonly: { type: BooleanConstructor; default: any; }; value: { type: PropType<import("./type").TextareaValue>; default: import("./type").TextareaValue; }; modelValue: { type: PropType<import("./type").TextareaValue>; default: import("./type").TextareaValue; }; defaultValue: { type: PropType<import("./type").TextareaValue>; }; onBlur: PropType<(value: import("./type").TextareaValue, context: { e: FocusEvent; }) => void>; onChange: PropType<(value: import("./type").TextareaValue, context?: { e?: InputEvent; }) => void>; onFocus: PropType<(value: import("./type").TextareaValue, context: { e: FocusEvent; }) => void>; }; export default _default;