mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
63 lines
1.3 KiB
TypeScript
63 lines
1.3 KiB
TypeScript
/// <reference types="miniprogram-api-typings" />
|
|
export declare const commonProps: {
|
|
value: {
|
|
type: StringConstructor;
|
|
observer(
|
|
this: WechatMiniprogram.Component.TrivialInstance,
|
|
value: string
|
|
): void;
|
|
};
|
|
placeholder: StringConstructor;
|
|
placeholderStyle: StringConstructor;
|
|
placeholderClass: StringConstructor;
|
|
disabled: BooleanConstructor;
|
|
maxlength: {
|
|
type: NumberConstructor;
|
|
value: number;
|
|
};
|
|
cursorSpacing: {
|
|
type: NumberConstructor;
|
|
value: number;
|
|
};
|
|
autoFocus: BooleanConstructor;
|
|
focus: BooleanConstructor;
|
|
cursor: {
|
|
type: NumberConstructor;
|
|
value: number;
|
|
};
|
|
selectionStart: {
|
|
type: NumberConstructor;
|
|
value: number;
|
|
};
|
|
selectionEnd: {
|
|
type: NumberConstructor;
|
|
value: number;
|
|
};
|
|
adjustPosition: {
|
|
type: BooleanConstructor;
|
|
value: boolean;
|
|
};
|
|
holdKeyboard: BooleanConstructor;
|
|
};
|
|
export declare const inputProps: {
|
|
type: {
|
|
type: StringConstructor;
|
|
value: string;
|
|
};
|
|
password: BooleanConstructor;
|
|
confirmType: StringConstructor;
|
|
confirmHold: BooleanConstructor;
|
|
};
|
|
export declare const textareaProps: {
|
|
autoHeight: BooleanConstructor;
|
|
fixed: BooleanConstructor;
|
|
showConfirmBar: {
|
|
type: BooleanConstructor;
|
|
value: boolean;
|
|
};
|
|
disableDefaultPadding: {
|
|
type: BooleanConstructor;
|
|
value: boolean;
|
|
};
|
|
};
|