new LanguageResultWidget(configopt)
Creates a LanguageResultWidget object. This is a copy of ve.ui.LanguageResultWidget
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
<optional> |
Configuration options |
Extends
- OO.ui.OptionWidget
Methods
onKeyDown(e)
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event | Key down event |
Fires:
- event:choose
updateLabel(queryopt, matchedPropertyopt) → {LanguageResultWidget}
Update labels based on query
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
query |
string |
<optional> |
Query text which matched this result |
matchedProperty |
string |
<optional> |
Data property which matched the query text |
Returns:
- Type
- LanguageResultWidget