UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

127 lines (126 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const inTextareaProps = { /** * 下拉框的值 * v-model */ modelValue: { type: String }, /** * 下拉框的默认值 * 非受控 */ defaultValue: { type: String }, /** * 提示文本 */ placeholder: { type: String }, /** * 是否禁用 */ disabled: { type: Boolean }, /** * 是否只读 */ readonly: { type: Boolean }, /** * 是否可以清除 */ clearable: { type: Boolean }, /** * 对值格式化,控制显示格式 */ format: { type: Function }, /** * 判断值的有效性 */ validate: { type: Function }, /** * 输入为无效值时,在blur */ valueOnInvalidChange: { type: Function }, /** * 显示的行数 */ rows: { type: Number, default: void 0 }, /** * 显示的列数 */ cols: { type: Number, default: void 0 }, /** * 是否支持调整尺寸 ResizeT */ resize: { type: String, default: "vertical" }, /** * 最小字符长度 */ minLength: { type: Number }, /** * 最大字符长度 */ maxLength: { type: Number }, /** * 获取长度方法 */ getLength: { type: Function }, /** * 超过最大字符长度时是否允许输入 */ inputOnOutlimit: { type: Boolean, default: true }, /** * 根据内容自动计算高度 */ autoSize: { type: Boolean }, /** * textarea id, 用于label关联 */ textareaId: { type: String }, /** * 使用内置scrollbar,支持传递scrollbar配置项 */ scrollbar: { type: [Boolean, Object], default: true } }; exports.inTextareaProps = inTextareaProps;