riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/textarea/type.d.ts
@@ -3,13 +3,24 @@
        type: BooleanConstructor;
        value?: boolean;
    };
    allowInputOverMax?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    autofocus?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    autosize?: {
        type: null;
        value?: boolean | object;
        value?: boolean | {
            maxHeight?: number;
            minHeight?: number;
        };
    };
    bordered?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    confirmHold?: {
        type: BooleanConstructor;
@@ -19,27 +30,39 @@
        type: StringConstructor;
        value?: 'return' | 'send' | 'search' | 'next' | 'go' | 'done';
    };
    cursor?: {
        type: NumberConstructor;
        value?: number;
    };
    cursorColor?: {
        type: StringConstructor;
        value?: string;
    };
    cursorSpacing?: {
        type: NumberConstructor;
        value?: number;
    };
    style?: {
        type: StringConstructor;
        value?: string;
    disableDefaultPadding?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    externalClasses?: {
        type: ArrayConstructor;
        value?: ['t-class', 't-class-textarea', 't-class-label'];
    };
    fixed?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    focus?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    holdKeyboard?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    indicator?: {
        type: BooleanConstructor;
        value?: boolean;
    };
@@ -59,48 +82,37 @@
        type: StringConstructor;
        value?: string;
    };
    placeholderStyle: {
        type: StringConstructor;
        value: string;
    };
    value?: {
    placeholderClass?: {
        type: StringConstructor;
        value?: string;
    };
    defaultValue?: {
    placeholderStyle?: {
        type: StringConstructor;
        value?: string;
    };
    bordered?: {
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    indicator?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    cursor: {
        type: NumberConstructor;
        value?: number;
    };
    showConfirmBar: {
        type: BooleanConstructor;
        value?: boolean;
    };
    selectionStart?: {
        type: NumberConstructor;
        value?: number;
    };
    selectionEnd?: {
        type: NumberConstructor;
        value?: number;
    };
    disableDefaultPadding?: {
    selectionStart?: {
        type: NumberConstructor;
        value?: number;
    };
    showConfirmBar?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    holdKeyboard?: {
        type: BooleanConstructor;
        value?: boolean;
    value?: {
        type: null;
        value?: TextareaValue;
    };
    defaultValue?: {
        type: null;
        value?: TextareaValue;
    };
}
export declare type TextareaValue = string | number;