API Reference
Namespaces
Classes
Events
Global
Externals

Namespace: cq-language-dialog

WebComponents. cq-language-dialog

Language dialog web component <cq-language-dialog>. This creates a dialog that the user can use to change the language.

The actual language choices are obtained from CIQ.I18N.languages. Choosing a different language causes the entire UI to be translated through use of the CIQ.I18N.setLanguage method.

Since:

Example

<cq-dialog>
	<cq-language-dialog></cq-language-dialog>
</cq-dialog>

Methods


close()

Closes dialog box.

Since:
  • 4.0.0


open( [params])

Opens the nearest WebComponents.cq-dialog to display your dialog.

Parameters:
Name Type Argument Description
params Object <optional>

Contains the chart context.

Properties
Name Type Argument Description
context CIQ.UI.Context <optional>

A context to set for the dialog. See CIQ.UI.DialogContentTag#setContext.

Since:
  • 4.0.0