new Index()
- Description:
Index search rendering
Members
(inner) _index
Methods
filterDialog(list, indexable, cbk)
- Description:
Filter dialog to pick some objects from user's menu
Parameters:
Name | Type | Description |
---|---|---|
list |
Array | list of selected objects (all if empty) |
indexable |
boolean | true to list indexable objects only |
cbk |
function | callback(list) with selected objects |
form(ctn, md, p)
- Description:
Index search form
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
ctn |
jQuery | container |
||||||
md |
Object | search metadata Properties
|
||||||
p |
Object | optional parameters Properties
|
result(ctn, req, result, p)
- Description:
Search result rendering in a grid
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
jQuery | container |
|||||||||
req |
string | user request |
|||||||||
result |
Array.<Object> | search result |
|||||||||
p |
Object | optional parameters Properties
|
searchBox(sb)
- Description:
Init index search widget
Parameters:
Name | Type | Description |
---|---|---|
sb |
jQuery | div.searchbox container |