input
约 542 字大约 2 分钟
2025-10-13
Karin API Docs / input
变量: input
const
input:object
定义于: packages/core/src/components/input.ts:53
输入框
类型声明
boolean()
boolean: (
key
,config
) =>InputProps
布尔值输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
color()
color: (
key
,config
) =>InputProps
颜色输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
create()
create: (
key
,options
) =>InputProps
创建基础输入框
参数
key
string
唯一标识符
options
Omit
<InputProps
, "key"
| "componentType"
>
输入框配置
返回
date()
date: (
key
,config
) =>InputProps
日期输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
datetime()
datetime: (
key
,config
) =>InputProps
日期时间输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
email()
email: (
key
,config
) =>InputProps
邮箱输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
group()
group: (
key
,options
) =>InputGroupProps
创建输入框组
参数
key
string
唯一标识符
options
Omit
<InputGroupProps
, "key"
| "componentType"
>
输入框组配置
返回
json()
json: (
key
,config
) =>InputProps
JSON输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
number()
number: (
key
,config
) =>InputProps
数字输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
password()
password: (
key
,config
) =>InputProps
密码输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
string()
string: (
key
,config
) =>InputProps
字符串输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
tel()
tel: (
key
,config
) =>InputProps
电话输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
time()
time: (
key
,config
) =>InputProps
时间输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置
返回
url()
url: (
key
,config
) =>InputProps
URL输入框
参数
key
string
唯一标识符
config
Partial
<Omit
<InputProps
, "key"
| "componentType"
>> = {}
输入框配置