iter(g204): textarea 支持内容自适应高度
This commit is contained in:
+6
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "ui-arch-registry-index/0.1",
|
||||
"generatedAt": "2026-10-26T09:56:49.160Z",
|
||||
"generatedAt": "2026-10-26T11:13:22.375Z",
|
||||
"repoRoot": ".",
|
||||
"packages": [
|
||||
{
|
||||
@@ -535,6 +535,11 @@
|
||||
"n": "maxCount",
|
||||
"t": "number",
|
||||
"d": "字数上限:同时设原生 maxlength,并在下方附加块显示实时计数;缺省不限"
|
||||
},
|
||||
{
|
||||
"n": "autosize",
|
||||
"t": "boolean | { minRows?, maxRows? }",
|
||||
"d": "自适应内容高度:true 跟随内容涨落,对象态钳最小/最大行数,超出 maxRows 内部滚动;缺省固定行数"
|
||||
}
|
||||
],
|
||||
"example": "const bio = signal(''); textarea({ value: bio, rows: 4, placeholder: '一句话介绍…' })",
|
||||
|
||||
Reference in New Issue
Block a user