new Index(app, engine, view)
- Description:
Index search rendering
Parameters:
Name | Type | Description |
---|---|---|
app |
Simplicite.Ajax | Ajax service |
engine |
Simplicite.UI.Engine | Main controller |
view |
Simplicite.UI.View.Main | View services |
Members
(inner) _index
Methods
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 |