1.0.0 • Published 3 years ago

@fishx/sort-select v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

排序选择框

@fishx/sort-select

可排序的选择框展示

API

SortSelect

参数说明类型默认值
choosenList数据源Array[]
unChooseList数据源Array[]
selectResultCallback回调方法{(selectList, unselectList) => {}}

选择项数据结构

interface SelectItem {
    privId: string,
    privName: string,
    url: string,
    iconBase64: string,
}
参数说明类型默认值
privId选择项idstring
privName名称string
url点击跳转链接string
iconBase64base64的图片string
1.0.0

3 years ago