Home > LIB_Footprint > search
LIB_Footprint.search() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
搜索封装
Signature
typescript
search(key: string, libraryUuid?: string, classification?: ILIB_ClassificationIndex, itemsOfPage?: number, page?: number): Promise<Array<ILIB_FootprintSearchItem>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
key | string | 搜索关键字 |
libraryUuid | string | (Optional) 库 UUID,默认为系统库,可以使用 LIB_LibrariesList 内的接口获取 |
classification | (Optional) 分类,默认为全部 | |
itemsOfPage | number | (Optional) 一页搜索结果的数量 |
page | number | (Optional) 页数 |
Returns
Promise<Array<ILIB_FootprintSearchItem>>
搜索到的封装属性列表