Constructor
- Source:
- Tutorials:
-
Parameters:
Name |
Type |
Attributes |
Default |
Description |
context |
Context
|
|
|
|
options |
object
|
<optional>
|
null
|
Configuration options. If not provided, the component has no visual representation.
Properties
Name |
Type |
Description |
element |
string
|
HTMLElement
|
The container in which an input field will be added to function as a search box. It can be either a valid CSS selector or an HTMLElement instance. |
|
Fires:
Methods
listen(eventName, callback)
- Source:
Attaches an event listener
Parameters:
Name |
Type |
Description |
eventName |
PMA.UI.Components.Events
|
The name of the event to listen to |
callback |
function
|
The function to call when the event occurs |
listen(eventName, callback)
- Source:
Attaches an event listener
Parameters:
Name |
Type |
Description |
eventName |
Components.Events
|
The name of the event to listen to |
callback |
function
|
The function to call when the event occurs |
search(serverUrl, queryString) → {Promise}
- Source:
Searches for slides in meta data entries
Parameters:
Name |
Type |
Description |
serverUrl |
string
|
The url of the PMA.core search to search against |
queryString |
string
|
The query to search with |
Returns:
-
Type
-
Promise
search(serverUrl, queryString) → {Promise}
- Source:
Searches for slides in meta data entries
Parameters:
Name |
Type |
Description |
serverUrl |
string
|
The url of the PMA.core search to search against |
queryString |
string
|
The query to search with |
Returns:
-
Type
-
Promise