Properties
template
#
Methods
addBanner(bannerHTML, firstMissingLanguage)
#
Method that can be called outside MF extension to render a banner inside the language overlay.
Stable for use inside ContentTranslation
Parameters:
Name | Type | Description |
---|---|---|
bannerHTML |
string | |
firstMissingLanguage |
string |
Method that can be called outside MF extension to render a banner inside the language overlay.
filterLanguages(searchQuery, searchOrigin)
#
Filter the language list to only show languages that match the current search term.
Parameters:
Name | Type | Description |
---|---|---|
searchQuery |
string | of search term (lowercase). |
searchOrigin |
'entrypoint-banner'
|
'ui'
|
for internal use by CX entrypoints only |
Filter the language list to only show languages that match the current search term.
onLinkClick(ev)
#
Article link click event handler
onSearchInput(ev)
#
Search input handler