select
约 317 字大约 1 分钟
2025-11-06
Karin API Docs / select
变量: select
constselect:object
定义于: packages/core/src/components/select.ts:36
下拉选择框
类型声明
create()
create: (
key,options) =>SelectProps
创建下拉选择框
参数
key
string
唯一标识符
options
Omit<SelectProps, "key" | "componentType">
下拉选择框配置
返回
createItem()
createItem: (
key,options) =>SelectItem
创建基础下拉选项
参数
key
string
唯一标识符
options
Omit<SelectItem, "key" | "componentType" | "className">
下拉选项配置
返回
default()
default: (
key,config?) =>SelectProps
默认下拉选择框
参数
key
string
唯一标识符
config?
Partial<Omit<SelectProps, "key" | "componentType">>
下拉选择框配置
返回
disabled()
disabled: (
key,config) =>SelectProps
禁用下拉选择框
参数
key
string
唯一标识符
config
Partial<Omit<SelectProps, "key" | "componentType">>
下拉选择框配置
返回
invalid()
invalid: (
key,config) =>SelectProps
错误状态下拉选择框
参数
key
string
唯一标识符
config
Partial<Omit<SelectProps, "key" | "componentType">>
下拉选择框配置
返回
readonly()
readonly: (
key,config) =>SelectProps
只读下拉选择框
参数
key
string
唯一标识符
config
Partial<Omit<SelectProps, "key" | "componentType">>
下拉选择框配置
返回
required()
required: (
key,config) =>SelectProps
必选下拉选择框
参数
key
string
唯一标识符
config
Partial<Omit<SelectProps, "key" | "componentType">>
下拉选择框配置
