add internal sort panel.
This commit is contained in:
14
lib/ui/dropdown.d.ts
vendored
14
lib/ui/dropdown.d.ts
vendored
@ -5,19 +5,19 @@ export interface DropdownItem {
|
||||
/** 显示文本 */
|
||||
text: string;
|
||||
/** 源码显示内容 */
|
||||
html?: HTMLElement
|
||||
html?: HTMLElement | string;
|
||||
}
|
||||
|
||||
/** 下拉框选项接口 */
|
||||
export interface DropdownOptions {
|
||||
/** 文本关键字,默认值 text */
|
||||
/** 文本关键字,默认值 `text` */
|
||||
textKey?: string;
|
||||
/** 值关键字,默认值 value */
|
||||
/** 值关键字,默认值 `value` */
|
||||
valueKey?: string;
|
||||
/** 源码显示的关键字,默认值 html */
|
||||
/** 源码显示的关键字,默认值 `html` */
|
||||
htmlKey?: string;
|
||||
/** 最大输入长度,默认值 500 */
|
||||
maxLength?: Number;
|
||||
/** 最大输入长度,默认值 `500` */
|
||||
maxLength?: number;
|
||||
/** 是否允许多选 */
|
||||
multiSelect?: boolean;
|
||||
/** 选中值 */
|
||||
@ -35,7 +35,7 @@ export interface DropdownOptions {
|
||||
/** 搜索提示文本,默认值取语言资源 `searchHolder` "Search..." */
|
||||
searchPlaceholder?: string;
|
||||
/** 焦点索引 */
|
||||
tabIndex?: Number;
|
||||
tabIndex?: number;
|
||||
/** 输入框的提示文本 */
|
||||
placeholder?: string;
|
||||
/** 是否固定为向下展开 */
|
||||
|
Reference in New Issue
Block a user