Expand all

ve.ui.LanguageResultWidget

Extends

Constructor

new ve.ui.LanguageResultWidget([config]) #

Creates an ve.ui.LanguageResultWidget object.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Creates an ve.ui.LanguageResultWidget object.

Methods

updateLabel(query, matchedProperty, [compare]) → {ve.ui.LanguageResultWidget}chainable #

Update labels based on query

Parameters:

Name Type Attributes Description
query string

Query text which matched this result

matchedProperty string

Data property which matched the query text

compare function optional

String comparator

Source:

Returns:

Type
ve.ui.LanguageResultWidget
Update labels based on query