Files
HuajisheTools/HuajisheCheckChaoXing/miniprogram_npm/tdesign-miniprogram/textarea/props.js
2025-10-01 10:01:52 +08:00

109 lines
1.8 KiB
JavaScript

const props = {
adjustPosition: {
type: Boolean,
value: true,
},
allowInputOverMax: {
type: Boolean,
value: false,
},
autofocus: {
type: Boolean,
value: false,
},
autosize: {
type: null,
value: false,
},
bordered: {
type: Boolean,
value: false,
},
confirmHold: {
type: Boolean,
value: false,
},
confirmType: {
type: String,
value: 'return',
},
cursor: {
type: Number,
value: -1,
},
cursorSpacing: {
type: Number,
value: 0,
},
disableDefaultPadding: {
type: Boolean,
value: false,
},
disabled: {
type: null,
value: undefined,
},
fixed: {
type: Boolean,
value: false,
},
focus: {
type: Boolean,
value: false,
},
holdKeyboard: {
type: Boolean,
value: false,
},
indicator: {
type: Boolean,
value: false,
},
label: {
type: String,
},
maxcharacter: {
type: Number,
},
maxlength: {
type: Number,
value: -1,
},
placeholder: {
type: String,
value: undefined,
},
placeholderClass: {
type: String,
value: 'textarea-placeholder',
},
placeholderStyle: {
type: String,
value: '',
},
readonly: {
type: null,
value: undefined,
},
selectionEnd: {
type: Number,
value: -1,
},
selectionStart: {
type: Number,
value: -1,
},
showConfirmBar: {
type: Boolean,
value: true,
},
value: {
type: null,
value: null,
},
defaultValue: {
type: null,
},
};
export default props;