/ui/elements/searchbox
Exports the searchbox(component) method as mapp.ui.elements.searchbox() to create a searchbox ui component.
- Source
Methods
(inner) searchbox(component) → {Object}
Creates a searchbox input element which executes the provided searchFunction with the event argument on input
and focus
events.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
component | Object | The component object to be decorated. Properties
|
- Source
Returns:
The decorated component object.
- Type:
- Object