new mw.widgets.TitleInputWidget(configopt)
#
Creates an mw.widgets.TitleInputWidget object.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Configuration options Properties
|
Creates an mw.widgets.TitleInputWidget object.
Extends
Methods
cleanUpValue()
#
focus()
#
getLookupCacheDataFromResponse()
#
getLookupMenuOptionsFromData()
#
getLookupRequest()
#
getQueryValue()
#
onLookupMenuChoose(item)
#
Handle menu item 'choose' event, updating the text input value to the value of the clicked item.
TODO: Replace this with an override of onLookupMenuChoose()
Parameters:
Name | Type | Description |
---|---|---|
item |
OO.ui.MenuOptionWidget | Selected item |
Handle menu item 'choose' event, updating the text input value to the value of the clicked item.